Call Descriptions
Function calls associated with File I/O Services include:
- m_card_changes Returns the number of card changes, so an application can detect when the card has been changed.
- m_close Closes the file.
- m_copydt Copies the date and time modified values from fpsrc to fpdest, both of which must refer to files opened through System Manager open calls.
- m_create Creates a new file.
- m_delete Deletes the file.
- m_fcreat Creates a new file, truncating an existing one with the same name.
- m_fdate Returns the time and date values for the specified file.
- m_flush
- m_getattr Returns the file attributes as returned by DOS.
- m_getdir Builds the current directory for the specified drive.
- m_get_drive_list Returns list of drives available.
- m_getdrv Sets the drive letter of the current default drive.
- m_getfdt Gets the modified date of the file.
- m_get_sysdir Copies the system directory path to a buffer.
- m_ident Sets *typep to indicate the filetype of the specified data.
- m_match Finds the next matching file name as specified by m_setpat().
- m_mkdir Creates the specified directory.
- m_open Opens an existing file.
- m_openro Opens an existing file in read-only mode.
- m_putfdt Sets the modified date of the file.
- m_read Reads the specified number of bytes from a file.
- m_rename Renames the file.
- m_rmdir Removes the directory.
- m_seek Sets the current position in the file.
- m_setattr Sets the file attributes as specified.
- m_setdir Sets the current directory for the drive included in the path.
- m_setdrv Sets the default drive.
- m_setpat Builds the MATCH structure used for searching for files with the m_match() function.
- m_tell Sets *seekp to the current position in the file.
- m_volume Returns the name of the current volume and the amount of freespace available on that volume.
- m_write Writes a specified amount of data from a buffer to the file.