Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/sys/stat.c

    r4cf8ca6 reca52a8  
    3131 * @{
    3232 */
    33 /** @file File status handling.
     33/** @file
    3434 */
    3535
     
    8080        int rc = fstat(fd, &hst);
    8181        if (rc < 0) {
    82                 /* fstat() returns negative error code instead of using errno. */
     82                /* fstat() returns negative error code instead of using errno.
     83                 */
    8384                errno = -rc;
    8485                return -1;
     
    9596 * @return Zero on success, -1 otherwise.
    9697 */
    97 int posix_lstat(const char *restrict path, struct posix_stat *restrict st)
     98int posix_lstat(const char *path, struct posix_stat *st)
    9899{
    99100        /* There are currently no symbolic links in HelenOS. */
     
    108109 * @return Zero on success, -1 otherwise.
    109110 */
    110 int posix_stat(const char *restrict path, struct posix_stat *restrict st)
     111int posix_stat(const char *path, struct posix_stat *st)
    111112{
    112113        struct stat hst;
    113114        int rc = stat(path, &hst);
    114115        if (rc < 0) {
    115                 /* stat() returns negative error code instead of using errno. */
     116                /* stat() returns negative error code instead of using errno.
     117                 */
    116118                errno = -rc;
    117119                return -1;
Note: See TracChangeset for help on using the changeset viewer.