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.
2 parents 4fc03fe + ce0dc73 commit a04a52aCopy full SHA for a04a52a
src/unix/bsd/mod.rs
@@ -298,6 +298,8 @@ pub const LOG_AUTHPRIV: ::c_int = 10 << 3;
298
pub const LOG_FTP: ::c_int = 11 << 3;
299
pub const LOG_PERROR: ::c_int = 0x20;
300
301
+pub const PIPE_BUF: usize = 512;
302
+
303
f! {
304
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {
305
let bits = mem::size_of_val(&(*set).fds_bits[0]) * 8;
src/unix/notbsd/mod.rs
@@ -650,6 +650,8 @@ pub const LOG_AUTHPRIV: ::c_int = 10 << 3;
650
651
652
653
+pub const PIPE_BUF: usize = 4096;
654
655
656
657
let fd = fd as usize;
0 commit comments