summaryrefslogtreecommitdiff
path: root/rtl/solaris
diff options
context:
space:
mode:
authormarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-12-09 16:53:34 +0000
committermarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-12-09 16:53:34 +0000
commit3d5f7f984d8a8b9f29106feb1e31008cf9e56eaf (patch)
treefa7195db23ebd41a32161a30ac352f6292cfb16e /rtl/solaris
parent6655aa385350fbe2dd31790b6c65f70b931dc5b3 (diff)
downloadfpc-3d5f7f984d8a8b9f29106feb1e31008cf9e56eaf.tar.gz
* some constants for solaris. Mantis #34668
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40513 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/solaris')
-rw-r--r--rtl/solaris/ostypes.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/rtl/solaris/ostypes.inc b/rtl/solaris/ostypes.inc
index 839493fdb5..15d2bec271 100644
--- a/rtl/solaris/ostypes.inc
+++ b/rtl/solaris/ostypes.inc
@@ -170,15 +170,21 @@ CONST
{ File access modes for `open' and `fcntl'. }
O_RDONLY = 0; { Open read-only. }
O_WRONLY = 1; { Open write-only. }
- O_RDWR = 2; { Open read/write. }
+ O_RDWR = 2; { Open read/write. }
+ O_NDELAY = 4;
{ Bits OR'd into the second argument to open. }
O_CREAT = $100; { Create file if it doesn't exist. }
O_EXCL = $400; { Fail if file already ??????. }
O_TRUNC = $200; { Truncate file to zero length. }
O_NOCTTY = $800; { Don't assign a controlling terminal. }
+ O_XATTR = $4000;
+ O_NOFOLLOW = $20000;
+ O_NOLINKS = $40000;
{ File status flags for `open' and `fcntl'. }
O_APPEND = $08; { Writes append to the file. }
+ O_SYNC = $10;
O_NONBLOCK = $80; { Non-blocking I/O. }
+ O_LARGEFILE = $2000;
{ mode_t possible values }