Content-type: text/html Manpage of TRACE_GETFILETYPE

TRACE_GETFILETYPE

Section: C Library Functions (3)     Updated: Feb 10, 1992    Return to Library's README

NAME

Trace_GetFileType -- get file type from trace record

SYNOPSIS

short Trace_GetFileType(recPtr)
dfs_header_t *recPtr;

DESCRIPTION

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).

SEE ALSO

sys/inode.h

AUTHOR

Lily B. Mummert


Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created on Time: 05:25:53 GMT, October 10, 1998