Changeset 2214 for trunk


Ignore:
Timestamp:
Jul 6, 2005, 5:50:43 AM (20 years ago)
Author:
bird
Message:

o Added the BSD 4.4. setmode/getmode functions from FreeBSD.
o Added getsid and getpgid, correcting the getpgrp implementation.

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.32 to 1.33
    r2213 r2214  
    438438/* X/Open System Interfaces */
    439439#if __XSI_VISIBLE
    440 /** @todo char  *crypt(const char *, const char *); */
     440char    *crypt(const char *, const char *);
    441441/** @todo char  *ctermid(char *); */            /* XXX ??? */
    442 /** @todo int    encrypt(char *, int); */
     442int      encrypt(char *, int);
    443443/** @todo int    fchdir(int); */
    444444/* tcpip: long   gethostid(void); */
    445 /** @todo int    getpgid(pid_t _pid); */
    446 /** @todo int    getsid(pid_t _pid); */
     445pid_t    getpgid(pid_t _pid);       /* bird: SuS say pid_r return. */
     446pid_t    getsid(pid_t _pid);        /* bird: SuS say pid_r return? */
    447447char    *getwd(char *);                 /* LEGACY: obsoleted by getcwd() */
    448448int      lchown(const char *, uid_t, gid_t);
     
    492492/** @todo int    getdomainname(char *, int); */
    493493int      getgrouplist(const char *, gid_t, gid_t *, int *);
    494 /** @todo mode_t         getmode(const void *, mode_t); */
     494mode_t   getmode(const void *, mode_t);
    495495/** @todo int    getpeereid(int, uid_t *, gid_t *); */
    496496/** @todo int    getresgid(gid_t *, gid_t *, gid_t *); */
     
    539539/** @todo void   sethostid(long); */
    540540/** @todo int    sethostname(const char *, int); */
    541 /** @todo #ifndef _SETKEY_DECLARED */
    542 /** @todo int    setkey(const char *); */
    543 /** @todo #define       _SETKEY_DECLARED */
    544 /** @todo #endif */
     541#ifndef _SETKEY_DECLARED
     542int      setkey(const char *);
     543#define _SETKEY_DECLARED
     544#endif
    545545/** @todo int    setlogin(const char *); */
    546 /* crash with DOS: void *setmode(const char *); */
     546void    *setmode(const char *);
    547547int      setresgid(gid_t, gid_t, gid_t);
    548548int      setresuid(uid_t, uid_t, uid_t);
Note: See TracChangeset for help on using the changeset viewer.