Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/fcntl.c

    r7c3fb9b r7f9df7b9  
    5555        case F_DUPFD:
    5656        case F_DUPFD_CLOEXEC:
    57                 /*
    58                  * VFS currently does not provide the functionality to duplicate
    59                  * opened file descriptor.
    60                  */
     57                /* VFS currently does not provide the functionality to duplicate
     58                 * opened file descriptor. */
    6159                // FIXME: implement this once dup() is available
    6260                errno = ENOTSUP;
     
    6967                return 0;
    7068        case F_GETFL:
    71                 /*
    72                  * File status flags (i.e. O_APPEND) are currently private to the
    73                  * VFS server so it cannot be easily retrieved.
    74                  */
     69                /* File status flags (i.e. O_APPEND) are currently private to the
     70                 * VFS server so it cannot be easily retrieved. */
    7571                flags = 0;
    76                 /*
    77                  * File access flags are currently not supported for file descriptors.
    78                  * Provide full access.
    79                  */
     72                /* File access flags are currently not supported for file descriptors.
     73                 * Provide full access. */
    8074                flags |= O_RDWR;
    8175                return flags;
    8276        case F_SETFL:
    83                 /*
    84                  * File access flags are currently not supported for file descriptors.
    85                  * Ignore arguments and report success.
    86                  */
     77                /* File access flags are currently not supported for file descriptors.
     78                 * Ignore arguments and report success. */
    8779                return 0;
    8880        case F_GETOWN:
Note: See TracChangeset for help on using the changeset viewer.