COSA
An Object-Oriented Platform for Arduino Programming
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
FS.hh
Go to the documentation of this file.
1
21
#ifndef COSA_FS_HH
22
#define COSA_FS_HH
23
27
enum
{
28
O_READ
= 0X01,
29
O_RDONLY
=
O_READ
,
30
O_WRITE
= 0X02,
31
O_WRONLY
=
O_WRITE
,
32
O_RDWR
=
O_READ
|
O_WRITE
,
33
O_APPEND
= 0X04,
34
O_SYNC
= 0X08,
36
O_CREAT
= 0X10,
37
O_EXCL
= 0X20,
38
O_TRUNC
= 0X40
41
} __attribute__((packed));
42
46
enum
{
47
SEEK_SET
= 0,
48
SEEK_CUR
= 1,
49
SEEK_END
= 2
50
} __attribute__((packed));
51
52
#endif
SEEK_SET
Absolute position.
Definition:
FS.hh:47
O_READ
Open for reading.
Definition:
FS.hh:28
SEEK_END
Relative to end of file.
Definition:
FS.hh:49
O_TRUNC
Truncate the file to zero length.
Definition:
FS.hh:40
O_RDWR
Open for reading and writing.
Definition:
FS.hh:32
O_RDONLY
Same as O_READ.
Definition:
FS.hh:29
SEEK_CUR
Relative to current position.
Definition:
FS.hh:48
O_CREAT
Create the file if nonexistent.
Definition:
FS.hh:36
O_WRONLY
Same as O_WRITE.
Definition:
FS.hh:31
O_APPEND
Definition:
FS.hh:33
O_WRITE
Open for write.
Definition:
FS.hh:30
O_EXCL
Definition:
FS.hh:37
O_SYNC
Synchronous writes.
Definition:
FS.hh:35
cores
cosa
Cosa
FS.hh
Generated on Thu Aug 31 2017 17:02:02 for COSA by
1.8.11