Content-type: text/html
short Trace_GetFileIndex(recPtr) dfs_header_t *recPtr;
Trace_GetFileIndex returns the index of the entry in the open file table from the record recPtr, if such a file exists in that record. The file table index is contained in records for system calls that manipulate file descriptors, which are OPEN, CREAT, CLOSE, SEEK, READ, and WRITE. The size of the file table varies from machine to machine; the library assumes it does not exceed 1024. If no such field exists, or if it is not set, the routine returns -1.
Lily B. Mummert