Lines Matching refs:fds
70 static int fds[NUM_FILE_ENTRIES];
95 fds[i] = -1;
170 if ( fds[i] != -1 ) {
171 close ( fds[i] );
546 if ( fds[fid] != -1 ) {
547 return(fds[fid]);
550 fds[fid] = open ( buf_strings+buf_fids[fid].offset, O_RDWR|O_CREAT,
552 if ( fds[fid] < 0 ) {
554 buf_strings+buf_fids[fid].offset, fid, fds[fid],
559 buf_strings+buf_fids[fid].offset, fid, fds[fid] );
562 if ( fstat ( fds[fid], &sbuf ) ) {
570 return ( fds[fid] );