Mercurial > hg > octave-nkf
diff src/file-io.cc @ 2189:d01936305d99
[project @ 1996-05-14 03:31:57 by jwe]
author | jwe |
---|---|
date | Tue, 14 May 1996 03:35:29 +0000 |
parents | ee08cc210438 |
children | ab0e1fd337f5 |
line wrap: on
line diff
--- a/src/file-io.cc +++ b/src/file-io.cc @@ -1151,6 +1151,28 @@ return retval; } +void +symbols_of_file_io (void) +{ + DEFCONST (SEEK_SET, 0.0, 0, 0, + "used with fseek to position file relative to the beginning"); + + DEFCONST (SEEK_CUR, 1.0, 0, 0, + "used with fseek to position file relative to the current position"); + + DEFCONST (SEEK_END, 2.0, 0, 0, + "used with fseek to position file relative to the end"); + + DEFCONSTX ("stdin", SBV_stdin, 0.0, 0, 0, + "file number of the standard input stream"); + + DEFCONSTX ("stdout", SBV_stdout, 1.0, 0, 0, + "file number of the standard output stream"); + + DEFCONSTX ("stderr", SBV_stderr, 2.0, 0, 0, + "file number of the standard error stream"); +} + /* ;;; Local Variables: *** ;;; mode: C++ ***