Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <FCNTL.H>
Link against: estlib.lib

_FOPEN

_FOPEN (-1)

Description

[Top]


_FREAD

_FREAD 0x0001

Description

[Top]


_FWRITE

_FWRITE 0x0002

Description

[Top]


_FNDELAY

_FNDELAY 0x0004

Description

[Top]


_FAPPEND

_FAPPEND 0x0008

Description

[Top]


_FMARK

_FMARK 0x0010

Description

[Top]


_FDEFER

_FDEFER 0x0020

Description

[Top]


_FASYNC

_FASYNC 0x0040

Description

[Top]


_FSHLOCK

_FSHLOCK 0x0080

Description

[Top]


_FEXLOCK

_FEXLOCK 0x0100

Description

[Top]


_FCREAT

_FCREAT 0x0200

Description

[Top]


_FTRUNC

_FTRUNC 0x0400

Description

[Top]


_FEXCL

_FEXCL 0x0800

Description

[Top]


_FNBIO

_FNBIO 0x1000

Description

[Top]


_FSYNC

_FSYNC 0x2000

Description

[Top]


_FNONBLOCK

_FNONBLOCK 0x4000

Description

[Top]


_FNOCTTY

_FNOCTTY 0x8000

Description

[Top]


_FBUFFERED

_FBUFFERED 0x10000

Description

[Top]


O_ACCMODE

O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)

Description

[Top]


O_RDONLY

O_RDONLY 0

Description

Flag values for open(2) and fcntl(2) The kernel adds 1 to the open modes to turn it into some combination of FREAD and FWRITE.

[Top]


O_WRONLY

O_WRONLY 1

Description

[Top]


O_RDWR

O_RDWR 2

Description

[Top]


O_APPEND

O_APPEND _FAPPEND

Description

[Top]


O_CREAT

O_CREAT _FCREAT

Description

[Top]


O_TRUNC

O_TRUNC _FTRUNC

Description

[Top]


O_EXCL

O_EXCL _FEXCL

Description

[Top]


O_NONBLOCK

O_NONBLOCK _FNONBLOCK

Description

[Top]


O_NOCTTY

O_NOCTTY _FNOCTTY

Description

[Top]


_FBINARY

_FBINARY 0x10000

Description

[Top]


_FTEXT

_FTEXT 0x20000

Description

[Top]


O_BINARY

O_BINARY _FBINARY

Description

[Top]


O_TEXT

O_TEXT _FTEXT

Description

[Top]


O_BUFFERED

O_BUFFERED _FBUFFERED

Description

[Top]


O_SYNC

O_SYNC _FSYNC

Description

[Top]


FAPPEND

FAPPEND _FAPPEND

Description

Flags that work for fcntl(fd, F_SETFL, FXXXX)

[Top]


FSYNC

FSYNC _FSYNC

Description

[Top]


FASYNC

FASYNC _FASYNC

Description

[Top]


FNBIO

FNBIO _FNBIO

Description

[Top]


FNONBIO

FNONBIO _FNONBLOCK

Description

[Top]


FNDELAY

FNDELAY _FNDELAY

Description

[Top]


FREAD

FREAD _FREAD

Description

Flags that are disallowed for fcntl's (FCNTLCANT); used for opens, internal state, or locking.

[Top]


FWRITE

FWRITE _FWRITE

Description

[Top]


FMARK

FMARK _FMARK

Description

[Top]


FDEFER

FDEFER _FDEFER

Description

[Top]


FSHLOCK

FSHLOCK _FSHLOCK

Description

[Top]


FEXLOCK

FEXLOCK _FEXLOCK

Description

[Top]


FOPEN

FOPEN _FOPEN

Description

The rest of the flags, used only for opens

[Top]


FCREAT

FCREAT _FCREAT

Description

[Top]


FTRUNC

FTRUNC _FTRUNC

Description

[Top]


FEXCL

FEXCL _FEXCL

Description

[Top]


FNOCTTY

FNOCTTY _FNOCTTY

Description

[Top]


FBUFFERED

FBUFFERED _FBUFFERED

Description

[Top]


FD_CLOEXEC

FD_CLOEXEC 1

Description

XXX close on exec request; must match UF_EXCLOSE in user.h

[Top]


F_DUPFD

F_DUPFD 0

Description

fcntl(2) requests

[Top]


F_GETFD

F_GETFD 1

Description

[Top]


F_SETFD

F_SETFD 2

Description

[Top]


F_GETFL

F_GETFL 3

Description

[Top]


F_SETFL

F_SETFL 4

Description

[Top]


F_GETOWN

F_GETOWN 5

Description

[Top]


F_SETOWN

F_SETOWN 6

Description

[Top]


F_GETLK

F_GETLK 7

Description

[Top]


F_SETLK

F_SETLK 8

Description

[Top]


F_SETLKW

F_SETLKW 9

Description

[Top]


F_RGETLK

F_RGETLK 10

Description

[Top]


F_RSETLK

F_RSETLK 11

Description

[Top]


F_CNVT

F_CNVT 12

Description

[Top]


F_RSETLKW

F_RSETLKW 13

Description

[Top]


F_RDLCK

F_RDLCK 1

Description

fcntl(2) flags (l_type field of flock structure)

[Top]


F_WRLCK

F_WRLCK 2

Description

[Top]


F_UNLCK

F_UNLCK 3

Description

[Top]


F_UNLKSYS

F_UNLKSYS 4

Description

[Top]


creat

creat (n, m) open(n,O_WRONLY|O_CREAT|O_TRUNC,m)

Description

Parameters

n

m

[Top]


open(const char *,int,...)

IMPORT_C int open(const char *, int,...);

Description

Opens the file which name is stored in the file string.

Parameters

const char *

int

...

Return value

int

On Success, a non-negative integer representing the lowest numbered unused file descriptor. On Failure, returns -1, errno may be set.

[Top]


wopen(const wchar_t *,int,...)

IMPORT_C int wopen(const wchar_t *, int,...);

Description

A wide_character version of a open(const char *,int,...)open(const char *,int,...).

Parameters

const wchar_twchar_t *

int

...

Return value

int