musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/syslog.h
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2014年02月06日 22:11:22 -0600
committerBobby Bingham <koorogi@koorogi.info>2014年02月09日 20:07:43 -0600
commitfdf5f1b13123883ac1d5e298e5f32c7ed43578ce (patch)
tree56cddbaadf3f67c66a4914f4a3db7ae6d19a7aa6 /include/syslog.h
parent7ee48f7b69523c68768684551bc37ba05496c27f (diff)
downloadmusl-fdf5f1b13123883ac1d5e298e5f32c7ed43578ce.tar.gz
clone: make clone a wrapper around __clone
The architecture-specific assembly versions of clone did not set errno on failure, which is inconsistent with glibc. __clone still returns the error via its return value, and clone is now a wrapper that sets errno as needed. The public clone has also been moved to src/linux, as it's not directly related to the pthreads API. __clone is called by pthread_create, which does not report errors via errno. Though not strictly necessary, it's nice to avoid clobbering errno here.
Diffstat (limited to 'include/syslog.h')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 17:57:28 +0000

AltStyle によって変換されたページ (->オリジナル) /