Mercurial > hg > octave-max
changeset 12998:c91bd3f10bec
maint: periodic merge of stable to default
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Aug 2011 12:22:42 -0400 |
parents | 7aafa7a2edad (current diff) bac0858b92ee (diff) |
children | 18cdf6479818 |
files | src/file-io.cc src/oct-stream.cc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/file-io.cc +++ b/src/file-io.cc @@ -1176,11 +1176,13 @@ DEFUN (sscanf, args, , "-*- texinfo -*-\n\ -@deftypefn {Built-in Function} {[@var{val}, @var{count}] =} sscanf (@var{string}, @var{template}, @var{size})\n\ +@deftypefn {Built-in Function} {[@var{val}, @var{count}, @var{pos}] =} sscanf (@var{string}, @var{template}, @var{size})\n\ @deftypefnx {Built-in Function} {[@var{v1}, @var{v2}, @dots{}, @var{count}] =} sscanf (@var{string}, @var{template}, \"C\")\n\ This is like @code{fscanf}, except that the characters are taken from the\n\ string @var{string} instead of from a stream. Reaching the end of the\n\ -string is treated as an end-of-file condition.\n\ +string is treated as an end-of-file condition. In addition to the values\n\ +returned by @code{fscanf}, the index of the next character to be read\n\ +is returned in in @var{pos}.\n\ @seealso{fscanf, scanf, sprintf}\n\ @end deftypefn") {