Ignore:
Timestamp:
Nov 10, 2018, 2:56:43 PM (3 years ago)
Author:
alain
Message:

Rewrite the mmap() and stat() syscalls to implement the cat command in ksh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/mini-libc/mman.h

    r449 r597  
    4040 * @ addr    : requested address in virtual space / unused : should be NULL.
    4141 * @ length  : requested number of bytes.
    42  * @ prot    : access mode.
    43  * @ flags   : MAP_FILE / MAP_ANON / MAP_PRIVATE / MAP_SHARED.
     42 * @ prot    : access mode bit vector (PROT_EXEC / PROT_READ / PROT_WRITE)
     43 * @ flags   : bit_vector (MAP_FILE / MAP_ANON / MAPREMOTE / MAP_PRIVATE / MAP_SHARED)
    4444 * @ fdid    : file descriptor index (if MAP_FILE).
    4545 * @ offset  : offset in file (if MAP_FILE).
Note: See TracChangeset for help on using the changeset viewer.