Changeset 34e6f913 in rtems


Ignore:
Timestamp:
Aug 19, 2003, 8:30:41 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
f8c4c8a7
Parents:
7224653
Message:

2003-08-18 Ralf Corsepius <corsepiu@…>

PR 449/rtems:

  • src/getegid.c: New (Copied from ../posix/src).
  • src/geteuid.c: New (Copied from ../posix/src).
  • src/getgid.c: New (Copied from ../posix/src).
  • src/getgroups.c: New (Copied from ../posix/src).
  • src/getlogin.c: New (Copied from ../posix/src).
  • src/getpgrp.c: New (Copied from ../posix/src).
  • src/getpid.c: New (Copied from ../posix/src).
  • src/getppid.c: New (Copied from ../posix/src).
  • src/getuid.c: New (Copied from ../posix/src).
  • src/setpgid.c: New (Copied from ../posix/src).
  • src/setsid.c: New (Copied from ../posix/src).
  • src/no_posix: Remove getpid and _getpid_r.
  • Makefile.am: Reflect changes above.
Location:
cpukit/libcsupport
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r7224653 r34e6f913  
     12003-08-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        PR 449/rtems:
     4        * src/getegid.c: New (Copied from ../posix/src).
     5        * src/geteuid.c: New (Copied from ../posix/src).
     6        * src/getgid.c: New (Copied from ../posix/src).
     7        * src/getgroups.c: New (Copied from ../posix/src).
     8        * src/getlogin.c: New (Copied from ../posix/src).
     9        * src/getpgrp.c: New (Copied from ../posix/src).
     10        * src/getpid.c: New (Copied from ../posix/src).
     11        * src/getppid.c: New (Copied from ../posix/src).
     12        * src/getuid.c: New (Copied from ../posix/src).
     13        * src/setpgid.c: New (Copied from ../posix/src).
     14        * src/setsid.c: New (Copied from ../posix/src).
     15        * src/no_posix: Remove getpid and _getpid_r.
     16        * Makefile.am: Reflect changes above.
     17
    1182003-08-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    219
  • cpukit/libcsupport/Makefile.am

    r7224653 r34e6f913  
    126126    src/telldir.c src/getcwd.c
    127127
     128ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
     129    src/getlogin.c src/getpgrp.c \
     130    src/getpid.c src/getppid.c src/getuid.c src/setpgid.c src/setsid.c
     131
    128132MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c src/__sbrk.c
    129133
     
    151155EMBEDDED_C_FILES = $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
    152156    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
    153     $(DIRECTORY_SCAN_C_FILES)
     157    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES)
    154158
    155159if UNIX
  • cpukit/libcsupport/src/no_posix.c

    r7224653 r34e6f913  
    33 *  to be used when POSIX is disabled.
    44 *
    5  *    + getpid
    6  *    + _getpid_r
    75 *    + kill
    86 *    + _kill_r
     
    2826 *  These are directly supported (and completely correct) in the posix api.
    2927 */
    30 
    31 #if !defined(RTEMS_POSIX_API)
    32 pid_t getpid(void)
    33 {
    34   return 0;
    35 }
    36 
    37 #if defined(RTEMS_NEWLIB)
    38 #include <reent.h>
    39 
    40 pid_t _getpid_r(
    41   struct _reent *ptr
    42 )
    43 {
    44   return getpid();
    45 }
    46 #endif
    47 
    48 #endif
    4928
    5029#if !defined(RTEMS_POSIX_API)
Note: See TracChangeset for help on using the changeset viewer.