Skip to content

Commit e432357

Browse files
committed
Merge pull request rust-lang#95 from dimbleby/path-max
Add PATH_MAX
2 parents 087b5a4 + 8b296bd commit e432357

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/notbsd/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ pub const SA_RESETHAND: ::c_int = 0x80000000;
338338
pub const SA_RESTART: ::c_int = 0x10000000;
339339
pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
340340

341+
pub const PATH_MAX: ::c_int = 4096;
342+
341343
pub const FD_SETSIZE: usize = 1024;
342344

343345
f! {

0 commit comments

Comments
 (0)