This commit is contained in:
Yann MAGNIN 2022-07-30 17:57:55 +02:00
commit ed77a97547
2 changed files with 4 additions and 4 deletions

View file

@ -72,8 +72,8 @@ struct stat {
#define st_ctime st_ctim.tv_sec #define st_ctime st_ctim.tv_sec
/* Obtain information about an entry in the filesystem. */ /* Obtain information about an entry in the filesystem. */
extern int stat(char const * restrict __pathname, extern int stat(char const * __restrict__ __pathname,
struct stat * restrict __statbuf); struct stat * __restrict__ __statbuf);
#ifdef __cplusplus #ifdef __cplusplus
} }

View file

@ -61,8 +61,8 @@ extern struct tm *localtime(const time_t *time);
/* Formats __time according to the specified format; similar to snprintf(). /* Formats __time according to the specified format; similar to snprintf().
TODO: %g, %G, %V (week-based year), and %U, %W (week number) are not TODO: %g, %G, %V (week-based year), and %U, %W (week number) are not
supported and substituted by "??". %z and %Z output nothing. */ supported and substituted by "??". %z and %Z output nothing. */
size_t strftime(char * restrict __s, size_t __maxsize, size_t strftime(char * __restrict__ __s, size_t __maxsize,
const char * restrict __format, const struct tm * restrict __time); const char * __restrict__ __format, const struct tm * __restrict__ __time);
#ifdef __cplusplus #ifdef __cplusplus
} }