This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 93a85cd94ba drivers/serial: make terminal window size optional for
DEFAULT_SMALL
new 607488920ef libc/unistd: Support the _PC_xxx names in pathconf() and
fpathconf().
new 9a64b30312f libc/unistd: Add _PC_NO_TRUNC to pathconf().
new 5acb1a3dd82 libc/unistd: Make getopt_long_option() weak so it can be
garbage collected.
new 4d795e0c34a libc/unistd: Build truncate() and posix_fallocate()
unconditionally.
new a4ee9b4d3e8 libc/unistd: Add fallocate() and implement
posix_fallocate() on it.
new 9ddf9da0084 libc/misc: Add statx().
new e5b0627504d libc/unistd: Return EINVAL for a zero length in
fallocate().
The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
include/fcntl.h | 15 ++
include/sys/stat.h | 76 ++++++
include/unistd.h | 5 +-
libs/libc/libc.csv | 1 +
libs/libc/misc/CMakeLists.txt | 1 +
libs/libc/misc/Make.defs | 1 +
libs/libc/misc/lib_statx.c | 178 ++++++++++++++
libs/libc/unistd/CMakeLists.txt | 5 +-
libs/libc/unistd/Make.defs | 6 +-
.../{lib_posix_fallocate.c => lib_fallocate.c} | 119 +++++++---
libs/libc/unistd/lib_getopt_common.c | 243 ++-----------------
libs/libc/unistd/lib_getopt_long.c | 257 +++++++++++++++++++++
libs/libc/unistd/lib_getopt_longonly.c | 53 -----
libs/libc/unistd/lib_pathconf.c | 37 ++-
libs/libc/unistd/lib_truncate.c | 4 -
15 files changed, 675 insertions(+), 326 deletions(-)
create mode 100644 libs/libc/misc/lib_statx.c
rename libs/libc/unistd/{lib_posix_fallocate.c => lib_fallocate.c} (52%)
delete mode 100644 libs/libc/unistd/lib_getopt_longonly.c