Changeset 9538 for trunk/psLib/src/sys/psSlurp.h
- Timestamp:
- Oct 13, 2006, 11:13:48 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psSlurp.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psSlurp.h
r8996 r9538 1 #ifndef PS_SLURP_H 2 #define PS_SLURP_H 3 1 4 #include <stdio.h> 2 #include <pslib.h>5 #include "psString.h" 3 6 4 psString psSlurpFD(int fd); 5 psString psSlurpFile(FILE *stream); 7 8 // Read ("slurp") a file (specified by file descriptor) 9 // and return a string containing the entire file. 10 psString psSlurpFD(int fd // File descriptor to read 11 ); 12 13 // Read ("slurp") a file (specified by file stream) 14 // and return a string containing the entire file. 15 psString psSlurpFile(FILE *stream // File stream to read 16 ); 17 18 19 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
