We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac75250 commit 4ef1f7fCopy full SHA for 4ef1f7f
src/unix/bsd/mod.rs
@@ -293,6 +293,8 @@ pub const WNOHANG: ::c_int = 1;
293
pub const RTLD_NOW: ::c_int = 0x2;
294
pub const RTLD_DEFAULT: *mut ::c_void = -2isize as *mut ::c_void;
295
296
+pub const PIPE_BUF: usize = 512;
297
+
298
f! {
299
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {
300
let bits = mem::size_of_val(&(*set).fds_bits[0]) * 8;
src/unix/notbsd/mod.rs
@@ -645,6 +645,8 @@ pub const POSIX_FADV_NOREUSE: ::c_int = 5;
645
pub const AT_FDCWD: ::c_int = -100;
646
pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x100;
647
648
+pub const PIPE_BUF: usize = 4096;
649
650
651
652
let fd = fd as usize;
0 commit comments