mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 11:19:36 +02:00
* some O_ constants. Patch by Barlone.
git-svn-id: trunk@24536 -
This commit is contained in:
parent
d367148f75
commit
9554eb2b48
@ -221,6 +221,17 @@ CONST
|
||||
O_APPEND = 8; { Writes append to the file. }
|
||||
O_NONBLOCK = 4; { Non-blocking I/O. }
|
||||
|
||||
{$ifdef freebsd}
|
||||
{ Other }
|
||||
O_SHLOCK = $10; { Open with shared file lock }
|
||||
O_EXLOCK = $20; { Open with exclusive file lock }
|
||||
O_ASYNC = $40; { Signal pgrp when data ready }
|
||||
O_FSYNC = $80; { Synchronous writes }
|
||||
O_SYNC = $80; { POSIX synonym for O_FSYNC }
|
||||
O_NOFOLLOW = $100; { Don't follow symlinks }
|
||||
O_DIRECT =$10000; { Attempt to bypass buffer cache }
|
||||
{$endif}
|
||||
|
||||
{ mode_t possible values }
|
||||
S_IRUSR = %0100000000; { Read permission for owner }
|
||||
S_IWUSR = %0010000000; { Write permission for owner }
|
||||
|
Loading…
Reference in New Issue
Block a user