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/src/stdio/vfscanf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014年01月08日 02:18:06 -0500
committerRich Felker <dalias@aerifal.cx>2014年01月08日 02:18:06 -0500
commit131871a3d846369fd925d3f8edb692edbad77e4d (patch)
treebd22b296221578478c0b11afc80c6538f6550910 /src/stdio/vfscanf.c
parent1d23b3c9136f606276142ec0037ff78fbb95e26d (diff)
downloadmusl-131871a3d846369fd925d3f8edb692edbad77e4d.tar.gz
in fcntl, avoid passing pointer arguments to syscalls as longs
really, fcntl should be changed to use the correct type corresponding to cmd when calling va_arg, and to carry the correct type through until making the syscall. however, this greatly increases binary size and does not seem to offer any benefits except formal correctness, so I'm holding off on that change for now. the minimal changes made in this patch are in preparation for addition of the x32 port, where the syscall macros need to know whether their arguments are pointers or integers in order to properly pass them to the 64-bit kernel.
Diffstat (limited to 'src/stdio/vfscanf.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 23:53:42 +0000

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