tfFSSystem
Table of Contents >> Application Reference >> File System Interface
#include <trsocket.h> |
int tfFSSystem | ( |
char * bufferPtr, | |
int bufferSize | |
); |
Function Description
This function copies the official system name, as assigned in the list of "OPERATING SYSTEM NAMES" in the "Assigned Numbers" RFC (RFC 1700) into 'bufferPtr' (up to 'bufferSize' bytes). For example, the DOS operating system has been assigned DOS as system name. If the file system is a DOS file system, then this function should copy "DOS" into 'bufferPtr'. If the system has not been assigned a system name in the RFC, then this function should return -1.
Parameters
- bufferPtr
- Pointer to a buffer where to copy the system name.
- bufferSize
- Size in bytes of the buffer.
Returns
- >0
- Success.
- -1
- Failure.
Table of Contents >> Application Reference >> File System Interface