<< Previous | Next >> | |
|
FileNumber fcreate_unused( File * f );
Description
- Create a new file and return the "file name" which is a number between 1 and 255. The new file will be created on the current default extent(s) as specified by
fs_set_lx()
. Other behavior is the same asfcreate()
.Parameters
- f
- Pointer to file descriptor to fill in.
Return value
>0
: Success, theFileNumber
(1-255) of the new file.
0
: Failure.ERRNO value
ENFILE
- No unused file number available.Library
- fs2.LIB
See also
- fcreate (FS2), fs_set_lx (FS2), fdelete (FS2)
Dynamic C Functions | << Previous | Next >> | rabbit.com |