Add PATH_MAX and FILENAME_MAX for Windows and Redox

Open
#5,033 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start by locating the platform-specific Rust bindings for Windows and Redox and checking how existing path and filename constants are defined. Add PATH_MAX and FILENAME_MAX for both requested targets, then run the relevant libc checks or target builds to confirm the constants are exposed correctly.

Written by the indexing model from the issue text.

Description

C-API-request

I noticed that thost consts are missing from libc when I tried to port uutils/pathchk.
Would you consider adding them?

Dominant language
Rust
Stars
2.6k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
27

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/libc

All issues in rust-lang/libc

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.