Ignore:
File:
1 edited

Legend:

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

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