llvm/llvm-project

Check the ordering of the *at syscalls

Open

#195.620 aperta il 4 mag 2026

Vedi su GitHub
 (7 commenti) (0 reazioni) (1 assegnatario)C++ (10.782 fork)batch import
good first issuelibc

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

In our syscalls in LLVM libc, we often have clauses like:

#ifdef SYS_mkdir
#elif SYS_mkdirat
#endif

I want to check if we should be preferring the *at syscalls on systems that have both as I think they're newer and preferred.

Guida contributor