diff options
| author | Pierre Weis <Pierre.Weis@inria.fr> | 2002-12-08 15:16:09 +0000 |
|---|---|---|
| committer | Pierre Weis <Pierre.Weis@inria.fr> | 2002-12-08 15:16:09 +0000 |
| commit | 9deb0370faeb59fd2f044d5c7d7ab32c3627e8a5 (patch) | |
| tree | 486bf33530541c0de9127876cdceb5fb63546b9b /stdlib/scanf.mli | |
| parent | e83ab280a5ed6d916caafd186cdb8e6807621fc3 (diff) | |
| download | ocaml-9deb0370faeb59fd2f044d5c7d7ab32c3627e8a5.tar.gz | |
Exporting stdib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/scanf.mli')
| -rw-r--r-- | stdlib/scanf.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/scanf.mli b/stdlib/scanf.mli index 4d740dd55b..32d4984e1d 100644 --- a/stdlib/scanf.mli +++ b/stdlib/scanf.mli @@ -25,6 +25,10 @@ type scanbuf;; a function to get the next char from the input, and a token buffer to store the string matched so far. *) +val stdib : scanbuf;; +(** The scanning buffer reading from [stdin]. + [stdib] is equivalent to [Scanning.from_channel stdin]. *) + val from_string : string -> scanbuf;; (** [Scanning.from_string s] returns a scanning buffer which reads from the given string. |
