Skip to content

Commit 9cbb6ff

Browse files
Thomasdezeeuwtgross35
authored andcommitted
Add NAME_MAX for Linux (like)
1 parent edd1b61 commit 9cbb6ff

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,6 +1754,7 @@ MS_SLAVE
17541754
MS_STRICTATIME
17551755
MS_SYNCHRONOUS
17561756
MS_UNBINDABLE
1757+
NAME_MAX
17571758
NDA_CACHEINFO
17581759
NDA_DST
17591760
NDA_IFINDEX

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,7 @@ pub const LOCK_UN: c_int = 8;
10461046
pub const SS_ONSTACK: c_int = 1;
10471047
pub const SS_DISABLE: c_int = 2;
10481048

1049+
pub const NAME_MAX: c_int = 255;
10491050
pub const PATH_MAX: c_int = 4096;
10501051

10511052
pub const UIO_MAXIOV: c_int = 1024;

0 commit comments

Comments
 (0)