next up previous
Next: fp = freopen(fpname,mode) Up: MATC Internal Functions Previous: fputs(fpstr)

fp = fopen(name,mode)

Open file given name and access mode. The most usual modes are ''r'' for reading and ''w'' for writing. Return value is the file pointer fp, which is used in functions reading and writing the file.

SEE ALSO: freopen.



Juha Ruokolainen
Fri Feb 14 15:59:30 EET 1997