Changeset 7c3fb9b in mainline for uspace/lib/posix/src/fcntl.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

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

    rfac0ac7 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.