Changeset c5f52e9 in rtems


Ignore:
Timestamp:
Aug 18, 2003, 7:31:32 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
34e0a9f6
Parents:
de85d7b
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:
12 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    rde85d7b rc5f52e9  
     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-14      Joel Sherrill <joel@OARcorp.com>
    219
    320        * Makefile.am: Add fileio to list of interactive tests.
    4         * src/sync.c: New file.
     21        * src/sync.c: New (Copied from ../posix/src). New file.
    522
    6232003-08-05      Till Strauman <strauman@slac.stanford.edu>
  • cpukit/libcsupport/Makefile.am

    rde85d7b rc5f52e9  
    124124    src/telldir.c src/getcwd.c
    125125
     126ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
     127    src/getlogin.c src/getpgrp.c \
     128    src/getpid.c src/getppid.c src/getuid.c src/setpgid.c src/setsid.c
     129
    126130MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c src/__sbrk.c
    127131
     
    149153EMBEDDED_C_FILES = $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
    150154    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
    151     $(DIRECTORY_SCAN_C_FILES)
     155    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES)
    152156
    153157if UNIX
  • cpukit/libcsupport/src/no_posix.c

    rde85d7b rc5f52e9  
    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.