Changeset 252 for trunk/include/slib.h
- Timestamp:
- Oct 12, 2009, 10:40:45 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/slib.h
r248 r252 329 329 #define SL_OFILE_SIZE 32 330 330 331 char * sl_check_badfd(); 331 332 char * sl_check_stale(); 332 333 334 /* Create a file record for an open file 335 */ 333 336 SL_TICKET sl_make_ticket (const char * ofile, int oline, 334 int fd, const char * filename );337 int fd, const char * filename, FILE * stream); 335 338 339 /* Get the pointer to a stream. If none exists yet, open it 340 */ 341 FILE * sl_stream (SL_TICKET ticket, char * mode); 342 336 343 /* Open for writing. 337 344 */ … … 388 395 */ 389 396 int sl_close (SL_TICKET ticket); 397 398 /* Close file descriptor. 399 */ 400 int sl_close_fd (const char * file, int line, int fd); 401 402 /* Close stream. 403 */ 404 int sl_fclose (const char * file, int line, FILE * fp); 390 405 391 406 /* Unlink file.
Note:
See TracChangeset
for help on using the changeset viewer.