contents   index   previous   next



Routines for file/stream I/O

 

Clib.fclose()

Closes an open file.

Clib.feof()

Tests if at end of file stream.

Clib.fflush()

Flushes stream for open file(s).

Clib.fgetc()

Gets a character from file stream.

Clib.fgetpos()

Gets current position of a file stream.

Clib.fgets()

Gets a string from an input stream.

Clib.fopen()

Opens a file.

Clib.fprintf()

Formatted output to a file stream.

Clib.fputc()

Writes a character to a file stream.

Clib.fputs()

Writes a string to a file stream.

Clib.fread()

Reads data from a file.

Clib.freopen()

Assigns new file spec to a file handle.

Clib.fscanf()

Formatted input from a file stream.

Clib.fseek()

Sets file position for an open file stream.

Clib.fsetpos()

Sets position of a file stream.

Clib.ftell()

Gets the current value of the file position.

Clib.fwrite()

Writes data to a file.

Clib.getc()

Gets a character from file stream.

Clib.putc()

Writes a character to a file stream.

Clib.remove()

Deletes a file.

Clib.rename()

Renames a file.

Clib.rewind()

Resets file position to beginning of file.

Clib.tmpfile()

Creates a temporary binary file.

Clib.tmpnam()

Gets a temporary file name.

Clib.ungetc()

Pushes character back to input stream.

Clib.vfprintf()

Formatted output to a file stream using variable args.

Clib.vfscanf()

Formatted input from a file stream using variable args.

 

copyfile.jsh - copying files

fileobj.jsh - File objects

 


Routines for general use