Skip to content

Commit 93d6e98

Browse files
committed
Add PATH_MAX for FreeBSDlike, defined in /usr/src/sys/sys/syslimits.h
1 parent a02fdc2 commit 93d6e98

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

+2
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,8 @@ pub const MAP_NOCORE: ::c_int = 0x020000;
477477

478478
pub const IPPROTO_RAW: ::c_int = 255;
479479

480+
pub const PATH_MAX: ::c_int = 1024;
481+
480482
pub const _SC_ARG_MAX: ::c_int = 1;
481483
pub const _SC_CHILD_MAX: ::c_int = 2;
482484
pub const _SC_CLK_TCK: ::c_int = 3;

0 commit comments

Comments
 (0)