home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
400-499
/
ff473.lzh
/
CNewsSrc
/
cnews_src.lzh
/
man
/
efopen.man
< prev
next >
Wrap
Text File
|
1991-01-05
|
1KB
|
67 lines
EFOPEN(3) C LIBRARY FUNCTIONS EFOPEN(3)
NNNNAAAAMMMMEEEE
efopen - open a stream, checking for errors
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
FFFFIIIILLLLEEEE ****
eeeeffffooooppppeeeennnn((((ffffiiiilllleeee,,,, mmmmooooddddeeee))))
cccchhhhaaaarrrr ****ffffiiiilllleeee;;;;
cccchhhhaaaarrrr ****mmmmooooddddeeee;;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_E_f_o_p_e_n invokes _f_o_p_e_n(3) and checks the result for errors.
In the absence of errors, it returns the stream pointer; in
the presence of errors, it prints a message and exits.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
fopen(3), error(3)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Exit status, in the event of error, is 1.
HHHHIIIISSSSTTTTOOOORRRRYYYY
Local product, roughly following the one in Kernighan&Pike.
Sun Microsystems Last change: local 1