Download Operating System Interface User Manual
Transcript
Chapter 4 Alphabetical List of OS Interface Functions OS.CLOSE.DIR.F Call: OS.CLOSE.DIR.F(DIRHNDL) Arguments: DIRHNDL Pointer: Handle to directory that was returned from OS.OPEN.DIR.F Result: Integer: .OSOK (0) for ok, .OSERROR (-1) for error. Description: Closes a directory that was opened for reading with OS.OPEN.DIR.F. The open call returns the directory handle that is used to refer to that directory for reading and for closing the directory. See also: OS.OPENDIR.F, OS.NEXT.DIRENTRY.F Example: see OS.OPENDIR.F OS.COPY.FILE.F Call: OS.COPY.FILE.F(FROM, TO) Arguments: FROM Text: Name of file to copy from. TO Text: Name of file to copy to. Result: Description: Copies a whole file. OS.DELETE.FILE.F Call: OS.DELETE.FILE.F(FNAME) Arguments: FNAME Result: Text: Name of file to be deleted. Integer: .OSOK (0) for ok, .OSERROR (-1) for error. Description: Deletes file. 9