File Functions


These functions are used to work with files.

TutFileTraverse — traverse open files

T_PTR TutFileTraverse(trav_func, trav_arg) 
T_FILE_TRAV_FUNC trav_func; 
T_PTR trav_arg; 

TutFOpen — open a file in a platform independent way

FILE *TutFOpen(file_name, file_mode) 
T_STR file_name; 
T_STR file_mode; 

TutSetFileCloseFunc — set a user defined function to be used for file closing

T_BOOL TutSetFileCloseFunc(close_func) 
T_FILE_CLOSE_FUNC close_func; 

TutSetFileOpenFunc — set the function to use when opening a file

T_BOOL TutSetFileOpenFunc(open_func) 
T_FILE_OPEN_FUNC open_func; 

TutSetFileReadFunc — set the function to use when reading from a file

T_BOOL TutSetFileReadFunc(read_func) 
T_FILE_READ_FUNC read_func; 

TIBCO SmartSockets™ API Quick Reference
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com