Well, strictly speaking, these are not Posix. >From the Linux man page: ATTRIBUTES For an explanation of the terms used in this section, see attributes(7). ┌─────────────────────┬───────────────┬────────────────────────┐ │Interface │ Attribute │ Value │ ├─────────────────────┼───────────────┼────────────────────────┤ │forkpty(), openpty() │ Thread safety │ MT-Safe locale │ ├─────────────────────┼───────────────┼────────────────────────┤ │login_tty() │ Thread safety │ MT-Unsafe race:ttyname │ └─────────────────────┴───────────────┴────────────────────────┘ CONFORMING TO These are BSD functions, present in glibc. They are not standardized in POSIX.
So, not sure if the posix module is the correct place to add these, even though they are present in glibc on linux. I tried musl as well, with it the **{.passL: "-lutil".}** is no longer needed.