about summary refs log tree commit diff
path: root/src/fcntl/open.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-30 17:51:16 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-31 17:33:01 -0400
commit59324c8b0950ee94db846a50554183c845ede160 (patch)
treeb1b39c11725760000b87156a3b49cf81700fb7ef /src/fcntl/open.c
parent8b2497047010e199bb04ed45e25a03c6f1e517fa (diff)
downloadmusl-59324c8b0950ee94db846a50554183c845ede160.tar.gz
musl-59324c8b0950ee94db846a50554183c845ede160.tar.xz
musl-59324c8b0950ee94db846a50554183c845ede160.zip
make __socketcall analogous to __syscall, error-returning
the __socketcall and __socketcall_cp macros are remnants from a really
old version of the syscall-mechanism infrastructure, and don't follow
the pattern that the "__" version of the macro returns the raw negated
error number rather than setting errno and returning -1.

for time64 purposes, some socket syscalls will need to operate on the
error value rather than returning immediately, so fix this up so they
can use it.
Diffstat (limited to 'src/fcntl/open.c')
0 files changed, 0 insertions, 0 deletions