Changeset eb6fafd in rtems


Ignore:
Timestamp:
01/19/99 20:19:22 (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a7c4314d
Parents:
1924610
Message:

Per bug report from Jiri Gaisler that RTEMS would no longer build
with the --disable-posix option, stubs for some routines (_getpid_r and
_kill_r) that are normally defined with POSIX were added.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/newlibc.c

    r1924610 reb6fafd  
    392392pid_t getpid(void)
    393393{
    394   return (0);
     394  return 0;
     395}
     396
     397pid_t _getpid_r(
     398  struct _reent *ptr
     399)
     400{
     401  return getpid();
    395402}
    396403#endif
     
    399406#if !defined(RTEMS_POSIX_API)
    400407int kill( pid_t pid, int sig )
     408{
     409  return 0;
     410}
     411
     412int _kill_r( pid_t pid, int sig )
    401413{
    402414  return 0;
  • c/src/lib/libc/newlibc.c

    r1924610 reb6fafd  
    392392pid_t getpid(void)
    393393{
    394   return (0);
     394  return 0;
     395}
     396
     397pid_t _getpid_r(
     398  struct _reent *ptr
     399)
     400{
     401  return getpid();
    395402}
    396403#endif
     
    399406#if !defined(RTEMS_POSIX_API)
    400407int kill( pid_t pid, int sig )
     408{
     409  return 0;
     410}
     411
     412int _kill_r( pid_t pid, int sig )
    401413{
    402414  return 0;
  • cpukit/libcsupport/src/newlibc.c

    r1924610 reb6fafd  
    392392pid_t getpid(void)
    393393{
    394   return (0);
     394  return 0;
     395}
     396
     397pid_t _getpid_r(
     398  struct _reent *ptr
     399)
     400{
     401  return getpid();
    395402}
    396403#endif
     
    399406#if !defined(RTEMS_POSIX_API)
    400407int kill( pid_t pid, int sig )
     408{
     409  return 0;
     410}
     411
     412int _kill_r( pid_t pid, int sig )
    401413{
    402414  return 0;
Note: See TracChangeset for help on using the changeset viewer.