Skip to content

Commit 85e2738

Browse files
committed
Add AT_FDCWD for FreeBSD
1 parent 19f3be3 commit 85e2738

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/freebsdlike

1 file changed

+2
-0
lines changed

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,8 @@ pub const SEM_FAILED: *mut sem_t = 0 as *mut sem_t;
876876

877877
pub const CRTSCTS: ::tcflag_t = 0x00030000;
878878

879+
pub const AT_FDCWD: ::c_int = -100;
880+
879881
f! {
880882
pub fn WIFCONTINUED(status: ::c_int) -> bool {
881883
status == 0x13

0 commit comments

Comments
 (0)