Nut/OS  4.10.3
API Reference
fs.h File Reference

File system access. More...

#include <sys/file.h>
#include <stdint.h>
Include dependency graph for fs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Defines

#define FS_VOL_MOUNT   0x1130
#define FS_VOL_UNMOUNT   0x1131
#define FS_RENAME   0x1132
#define NUTFS_UNLINK   0x1133
#define NUTFS_MKDIR   0x1134
#define NUTFS_RMDIR   0x1135

Typedefs

typedef struct _FSCP_VOL_MOUNT FSCP_VOL_MOUNT
typedef struct _FSCP_RENAME FSCP_RENAME
typedef struct _FSCP_STATUS FSCP_STATUS

File System I/O Control Codes

#define FS_STATUS   0x1101
 Obtain information about a specified file entry.
#define FS_DIR_CREATE   0x1111
 Create a new directory entry.
#define FS_DIR_REMOVE   0x1112
 Remove a previously created directory entry.
#define FS_DIR_OPEN   0x1113
 Open a directory stream.
#define FS_DIR_CLOSE   0x1114
 Close a directory stream.
#define FS_DIR_READ   0x1115
 Read the next directory entry.
#define FS_FILE_STATUS   0x1121
 Obtain information about an opened file.
#define FS_FILE_DELETE   0x1122
 Remove a previously created file.
#define FS_FILE_SEEK   0x1123
 Set a file pointer position.

Detailed Description

File system access.

 *
 * $Log$
 * Revision 1.5  2008/08/11 07:00:19  haraldkipp
 * BSD types replaced by stdint types (feature request #1282721).
 *
 * Revision 1.4  2007/08/29 13:34:14  haraldkipp
 * Added function for renaming files (contrib by ZACK).
 *
 * Revision 1.3  2006/01/05 16:45:25  haraldkipp
 * New ioctl functions.
 *
 * Revision 1.2  2005/08/05 11:28:25  olereinhardt
 * Corrected typo
 *
 * Revision 1.1  2005/02/05 20:37:18  haraldkipp
 * Peanut added
 *
 *
 * 

Definition in file fs.h.