Ignore:
Timestamp:
Sep 12, 2004, 9:40:29 PM (21 years ago)
Author:
bird
Message:

Adding BSD stuff like there was no tomorrow.

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.16 to 1.17
    r1504 r1505  
    178178unsigned int     alarm(unsigned int);
    179179int      chdir(const char *);
    180 /** @todo int    chown(const char *, uid_t, gid_t); */
     180int      chown(const char *, uid_t, gid_t);
    181181int      close(int);
    182182char *   cuserid(char *); /* bird: emx/todo/obosolete? */
     
    203203uid_t    getuid(void);
    204204int      isatty(int);
    205 /** @todo int    link(const char *, const char *);*/
     205int      link(const char *, const char *);
    206206#ifndef _LSEEK_DECLARED
    207207#define _LSEEK_DECLARED
     
    255255/* 1003.1-2001 */
    256256#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
    257 /** @todo int    fchown(int, uid_t, gid_t); */
    258 /** @todo int    readlink(const char *, char *, int); */
     257int      fchown(int, uid_t, gid_t);
     258int      readlink(const char *, char *, int);
    259259#endif
    260260#if __POSIX_VISIBLE >= 200112
     
    270270 */
    271271#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 402 || __BSD_VISIBLE
    272 /** @todo int    symlink(const char * __restrict, const char * __restrict); */
     272int      symlink(const char * __restrict, const char * __restrict);
    273273#endif
    274274
     
    283283/** @todo int    getsid(pid_t _pid); */
    284284char    *getwd(char *);                 /* LEGACY: obsoleted by getcwd() */
    285 /** @todo int    lchown(const char *, uid_t, gid_t); */
     285int      lchown(const char *, uid_t, gid_t);
    286286int      lockf(int, int, off_t);
    287287/** @todo int    nice(int); */
     
    292292/** @todo int    setreuid(uid_t, uid_t); */
    293293/* void  swab(const void * __restrict, void * __restrict, ssize_t); */
    294 /** @todo void   sync(void); */
     294void     sync(void);
    295295/** @todo useconds_t     ualarm(useconds_t, useconds_t); */
    296296int      usleep(useconds_t);
     
    325325/** @todo int    des_cipher(const char *, char *, long, int); */
    326326/** @todo int    des_setkey(const char *key); */
    327 /** @todo void   endusershell(void); */
     327void     endusershell(void);
    328328/** @todo int    exect(const char *, char * const *, char * const *); */
    329329/** @todo char  *fflagstostr(u_long); */
     
    334334/** @todo int    getresgid(gid_t *, gid_t *, gid_t *); */
    335335/** @todo int    getresuid(uid_t *, uid_t *, uid_t *); */
    336 /** @todo char  *getusershell(void); */
     336char    *getusershell(void);
    337337/** @todo int    initgroups(const char *, gid_t); */
    338338/** @todo int    iruserok(unsigned long, int, const char *, const char *); */
     
    340340/** @todo int    issetugid(void); */
    341341/** @todo char  *mkdtemp(char *); */
    342 /** @todo int    mknod(const char *, mode_t, dev_t); */
     342int      mknod(const char *, mode_t, dev_t);
    343343#ifndef _MKSTEMP_DECLARED
    344344int      mkstemp(char *);
     
    374374#endif
    375375/** @todo int    setdomainname(const char *, int); */
    376 /** @todo int    setgroups(int, const gid_t *); */
     376int      setgroups(int, const gid_t *);
    377377/** @todo void   sethostid(long); */
    378378/** @todo int    sethostname(const char *, int); */
     
    387387/** @todo int    setrgid(gid_t); */
    388388/** @todo int    setruid(uid_t); */
    389 /** @todo void   setusershell(void); */
     389void     setusershell(void);
    390390/** @todo int    strtofflags(char **, u_long *, u_long *); */
    391391/** @todo int    swapon(const char *); */
     
    419419unsigned int _alarm(unsigned int);
    420420int      _chdir(const char *);
    421 /** @todo int    _chown(const char *, uid_t, gid_t); */
     421int      _chown(const char *, uid_t, gid_t);
    422422int      _close(int);
    423423char    *_cuserid(char *);
    424424int      _dup(int);
    425425int      _dup2(int, int);
    426 /** @todo int    _eaccess(const char *, int); */
     426int      _eaccess(const char *, int);
    427427int      _execl(const char *, const char *, ...);
    428428int      _execle(const char *, const char *, ...);
     
    444444uid_t    _getuid(void);
    445445int      _isatty(int);
    446 /** @todo int    _link(const char *, const char *);*/
     446int      _link(const char *, const char *);
    447447#ifndef __LSEEK_DECLARED
    448448#define __LSEEK_DECLARED
Note: See TracChangeset for help on using the changeset viewer.