Changeset 684


Ignore:
Timestamp:
Sep 11, 2003, 3:12:04 AM (22 years ago)
Author:
bird
Message:

#634: Added lockf() declaration and #defines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/unistd.h

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r683 r684  
    109109#endif
    110110
     111#if __XSI_VISIBLE || __POSIX_VISIBLE >= 200112
     112#define F_ULOCK         0       /* unlock locked section */
     113#define F_LOCK          1       /* lock a section for exclusive use */
     114#define F_TLOCK         2       /* test and lock a section for exclusive use */
     115#define F_TEST          3       /* test a section for locks by other procs */
     116#endif
     117
     118
    111119/** @todo: big todo to get in all the POSIX defines. */
    112120
     
    266274char    *getwd(char *);                 /* LEGACY: obsoleted by getcwd() */
    267275/** @todo int    lchown(const char *, uid_t, gid_t); */
    268 /** @todo int    lockf(int, int, off_t); */
     276int      lockf(int, int, off_t);
    269277/** @todo int    nice(int); */
    270278/** @todo ssize_t        pread(int, void *, size_t, off_t); */
Note: See TracChangeset for help on using the changeset viewer.