Content-type: text/html
short Trace_GetFileType(recPtr) dfs_header_t *recPtr;
Trace_GetFileType returns the file type (see ``modes'' in sys/inode.h) from record recPtr, if such a field exists in that record. File types are regular file, directory, symbolic link, character special, block special, and socket. Records that contain file type fields are OPEN, CLOSE, RMDIR, UNLINK, STAT, LSTAT, ACCESS, CHMOD, CHOWN, RENAME, LINK, LOOKUP, and UTIMES. If no such field exists, or if it is not set, the routine returns IFMT (which would not make sense as a file type).
sys/inode.h
Lily B. Mummert