about summary refs log tree commit diff
path: root/src/stdio/ftrylockfile.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-11 21:20:04 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-11 21:20:04 -0400
commitb8c4cf61cbe83317d1df67dfe7877872faf0dec5 (patch)
tree4efffbc44abed95a1e0adce315f718ad1d1ef1f0 /src/stdio/ftrylockfile.c
parentda27118157c2942d7652138b8d8b0056fc8f872f (diff)
downloadmusl-b8c4cf61cbe83317d1df67dfe7877872faf0dec5.tar.gz
musl-b8c4cf61cbe83317d1df67dfe7877872faf0dec5.tar.xz
musl-b8c4cf61cbe83317d1df67dfe7877872faf0dec5.zip
implement the LOG_PERROR option in syslog
this is a nonstandard feature, but easy and inexpensive to add. since
the corresponding macro has always been defined in our syslog.h, it
makes sense to actually support it. applications may reasonably be
using the presence of the macro to assume that the feature is
supported.

the behavior of omitting the 'header' part of the log message does not
seem to be well-documented, but matches other implementations (at
least glibc) which have this option.

based on a patch by Clément Vasseur, but simplified using %n.
Diffstat (limited to 'src/stdio/ftrylockfile.c')
0 files changed, 0 insertions, 0 deletions