Skip to content

Commit

Permalink
[solarish] add O_RSYNC
Browse files Browse the repository at this point in the history
Source code at
https://github.com/illumos/illumos-gate/blame/f389e29fb4a3b48598f4e25151eb570247c6deed/usr/src/uts/common/sys/fcntl.h#L70
-- this was added a long time ago, and the blame indicates that the constant is
shared with Solaris.
  • Loading branch information
sunshowers committed Sep 20, 2024
1 parent a6386af commit 5481991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/illumos.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
O_RSYNC
pthread_attr_get_np
pthread_attr_getstackaddr
pthread_attr_setstack
1 change: 1 addition & 0 deletions src/unix/solarish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,7 @@ pub const O_RDWR: ::c_int = 2;
pub const O_NDELAY: ::c_int = 0x04;
pub const O_APPEND: ::c_int = 8;
pub const O_DSYNC: ::c_int = 0x40;
pub const O_RSYNC: ::c_int = 0x8000;
pub const O_CREAT: ::c_int = 256;
pub const O_EXCL: ::c_int = 1024;
pub const O_NOCTTY: ::c_int = 2048;
Expand Down

0 comments on commit 5481991

Please sign in to comment.