Skip to content

Commit

Permalink
functional-differences: system() thread safety
Browse files Browse the repository at this point in the history
Done as issue requests. Closes #63.
  • Loading branch information
Artoria2e5 authored and rofl0r committed Jul 8, 2024
1 parent 68037bf commit db6d000
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions functional-differences-from-glibc.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,12 @@ musl also does not implement the following glibc bugs:

# Miscellaneous functions with GNU quirks

- GNU getopt permutes argv to pull options to the front, ahead of non-option
arguments. musl and the POSIX standard getopt stop processing options at the
- GNU `getopt` permutes argv to pull options to the front, ahead of non-option
arguments. musl and the POSIX standard `getopt` stop processing options at the
first non-option argument with no permutation.
- glibc provides two versions of basename. The one declared in stdlib.h has
- glibc provides two versions of `basename`. The one declared in stdlib.h has
alternate semantics and signature that conflict with the standard. musl only
provides the standard one.
- glibc provides a thread-safe `system`. Thread safety for `system` is not
required by POSIX and musl's version is not thread-safe.

0 comments on commit db6d000

Please sign in to comment.