Collaboration diagram for Special Functions.:
![]() |
Modules | |
Reading Directories | |
UNIX compatible directory read functions. | |
Data Structures | |
struct | dirent |
Directory entry structure. More... | |
struct | _dirdesc |
Internally used directory information structure. More... | |
struct | IOCTL_ARG2 |
General structure for two arguments. More... | |
struct | IOCTL_ARG3 |
General structure for three arguments. More... | |
struct | _FSCP_VOL_MOUNT |
struct | _FSCP_RENAME |
struct | _FSCP_STATUS |
struct | stat |
File status structure. More... | |
File System Directory Configuration | |
The Nut/OS Configurator may be used to override the default values. | |
#define | MAXNAMLEN 255 |
UDP port of DHCP server. | |
File System I/O Control Codes | |
#define | FS_STATUS |
Obtain information about a specified file entry. | |
#define | FS_DIR_CREATE |
Create a new directory entry. | |
#define | FS_DIR_REMOVE |
Remove a previously created directory entry. | |
#define | FS_DIR_OPEN |
Open a directory stream. | |
#define | FS_DIR_CLOSE |
Close a directory stream. | |
#define | FS_DIR_READ |
Read the next directory entry. | |
#define | FS_FILE_STATUS |
Obtain information about an opened file. | |
#define | FS_FILE_DELETE |
Remove a previously created file. | |
#define | FS_FILE_SEEK |
Set a file pointer position. | |
Defines | |
#define | FS_VOL_MOUNT |
#define | FS_VOL_UNMOUNT |
#define | FS_RENAME |
#define | NUTFS_UNLINK |
#define | NUTFS_MKDIR |
#define | NUTFS_RMDIR |
Typedefs | |
typedef _dirdesc | DIR |
Internally used directory information structure. | |
typedef _FSCP_VOL_MOUNT | FSCP_VOL_MOUNT |
typedef _FSCP_RENAME | FSCP_RENAME |
typedef _FSCP_STATUS | FSCP_STATUS |
Functions | |
int | access (CONST char *path, int what) |
Check the accessibility of a file. | |
long | lseek (int fh, long pos, int whence) |
Reposition a file pointer. | |
int | rmdir (CONST char *path) |
Remove a directory. | |
int | unlink (CONST char *path) |
Remove a file entry. | |
int | stat (CONST char *path, struct stat *s) |
Remove a directory. | |
int | fstat (int fh, struct stat *s) |
Remove a directory. | |
int | mkdir (CONST char *path, int mode) |
Create a directory entry. |
|
Internally used directory information structure. Applications should ignore its contents. |
|
Check the accessibility of a file.
|
|
Remove a directory.
|
|
Reposition a file pointer.
|
|
Create a directory entry.
|
|
Remove a directory.
|
|
Remove a directory.
|
|
Remove a file entry.
|