Skip to content

Commit

Permalink
Merge pull request rust-lang#95 from dimbleby/path-max
Browse files Browse the repository at this point in the history
Add PATH_MAX
  • Loading branch information
alexcrichton committed Dec 14, 2015
2 parents 087b5a4 + 8b296bd commit e432357
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/notbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ pub const SA_RESETHAND: ::c_int = 0x80000000;
pub const SA_RESTART: ::c_int = 0x10000000;
pub const SA_NOCLDSTOP: ::c_int = 0x00000001;

pub const PATH_MAX: ::c_int = 4096;

pub const FD_SETSIZE: usize = 1024;

f! {
Expand Down

0 comments on commit e432357

Please sign in to comment.