about summary refs log tree commit diff
path: root/src/unistd/getgid.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-02-07 01:16:53 -0500
committerRich Felker <dalias@aerifal.cx>2014-02-07 01:16:53 -0500
commit758ab35a167ac17a4e3102cee5d16b75053842a7 (patch)
treef6e052426088b5c7a894a9d3a1213ffa1847f766 /src/unistd/getgid.c
parent3af2edee150484940916eba1984f78c3b965dd05 (diff)
downloadmusl-758ab35a167ac17a4e3102cee5d16b75053842a7.tar.gz
musl-758ab35a167ac17a4e3102cee5d16b75053842a7.tar.xz
musl-758ab35a167ac17a4e3102cee5d16b75053842a7.zip
in fdopen, avoid setting O_APPEND flag if it's already set
this saves a syscall in the case where the underlying open already
took place with O_APPEND, which is common because fopen with append
modes sets O_APPEND at the time of open before passing the file
descriptor to __fdopen.
Diffstat (limited to 'src/unistd/getgid.c')
0 files changed, 0 insertions, 0 deletions