| Issue |
124640
|
| Summary |
[libc] provide sysexits.h
|
| Labels |
libc
|
| Assignees |
|
| Reporter |
nickdesaulniers
|
FWICT, sysexits.h is a BSD extension. It's used in llvm when building clang:
```
In file included from /llvm-project-main/llvm/lib/Support/Signals.cpp:277:
In file included from /llvm-project-main/llvm/lib/Support/Unix/Signals.inc:39:
/llvm-project-main/llvm/include/llvm/Support/ExitCodes.h:30:2: error: Exit code EX_IOERR not available
30 | #error Exit code EX_IOERR not available
| ^
```
FWICT, it's because llvm-libc doesn't provide sysexits.h. LLVM only cares about `EX_IOERR` (I think I was involved in this code, a lifetime ago, for detecting writes to broken pipes...)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs