mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-31 09:11:23 +08:00
posix-compliance: Change utimes() from sys/times.h to sys/time.h
In the RTEMS POSIX 1003.1 Compliance Guide it says: The following methods and variables in <sys/times.h> are supported: - times() - utimes() But according to the official POSIX Specifications http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_times.h.html, <sys/times.h> only declares times(), and utimes() is decleared by <sys/time.h> (notice that it's time, not times) according to http://pubs.opengroup.org/onlinepubs/9699919799/functions/utimensat.html and http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html. This patch fixes this error. This work was part of GCI 2018.
This commit is contained in:
parent
a46b0250e5
commit
048b03ea60
@ -1126,13 +1126,13 @@ unlinkat(),unistd.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-NO,,,,,
|
||||
unlockpt(),stdlib.h,INCL,INCL,,,,,,,,,,,,,,,,,,,,RT-NO,,,,,XSI_DEVICE_SPECIFIC
|
||||
unsetenv(),stdlib.h,INCL,INCL,INCL,INCL,INCL,INCL,,,,,,INCL,,,,INCL,,,,,CTS-YES,CTS-YES,,,CTS-YES,,POSIX_SINGLE_PROCESS
|
||||
uselocale(),locale.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-YES,,,,,
|
||||
usleep(),unistd.h,,INCL,,,,,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,
|
||||
utime(),utime.h,INCL,INCL,,INCL,INCL,INCL,,,,,,,,,,,INCL,,,,,RT-YES,,,,,POSIX_FILE_SYSTEM
|
||||
utimensat(),sys/stat.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-NO,,,,,
|
||||
utimes(),sys/times.h,INCL,INCL,,,INCL,INCL,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,POSIX_MULTI_PROCESS
|
||||
va_arg(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
|
||||
va_copy(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,,INCL,,,,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
|
||||
va_end(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
|
||||
usleep(),unistd.h,,INCL,,,,,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,
|
||||
utime(),utime.h,INCL,INCL,,INCL,INCL,INCL,,,,,,,,,,,INCL,,,,,RT-YES,,,,,POSIX_FILE_SYSTEM
|
||||
utimensat(),sys/stat.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-NO,,,,,
|
||||
utimes(),sys/time.h,INCL,INCL,,,INCL,INCL,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,POSIX_MULTI_PROCESS
|
||||
va_arg(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
|
||||
va_copy(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,,INCL,,,,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
|
||||
va_end(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
|
||||
va_start(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
|
||||
vdprintf(),stdio.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-YES,,,,,
|
||||
vfork(),unistd.h,,INCL,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
@ -28,6 +28,6 @@ def gen_posix_rst(task):
|
||||
|
||||
def build(ctx):
|
||||
ctx(rule = gen_posix_rst,
|
||||
source = ['posix_rst.py', 'RTEMS-Standards-Compliance-v4.csv'],
|
||||
source = ['posix_rst.py', 'RTEMS-Standards-Compliance-v4a.csv'],
|
||||
target = 'generated-posix-compliance.rst')
|
||||
doc_build(ctx, extra_source = ['generated-posix-compliance.rst'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user