llvm/llvm-project

Check the ordering of the *at syscalls

Open

#195.620 geöffnet am 4. Mai 2026

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (10.782 Forks)batch import
good first issuelibc

Repository-Metriken

Stars
 (26.378 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide