source: rtems/cpukit/posix/src/pthreadatfork.c @ 6a3a81c

4.104.114.84.95
Last change on this file since 6a3a81c was f42b726, checked in by Joel Sherrill <joel.sherrill@…>, on 01/24/01 at 14:17:28

2001-01-24 Ralf Corsepius <corsepiu@…>

  • configure.in: Add src/config.h
  • src/Makefile.am: Add INCLUDES += -I. to pickup config.h
  • src/.cvsignore: Add config.h and stamp-h
  • src/*.c: Add config.h support.
  • Property mode set to 100644
File size: 626 bytes
Line 
1/*
2 *  pthread_atfork() - POSIX 1003.1b 3.1.3
3 *
4 *  3.1.3 Register Fork Handlers, P1003.1c/Draft 10, P1003.1c/Draft 10, p. 27
5 *
6 *  RTEMS does not support processes, so we fall under this and do not
7 *  provide this routine:
8 *
9 *  "Either the implementation shall support the pthread_atfork() function
10 *   as described above or the pthread_atfork() funciton shall not be
11 *   provided."
12 *
13 *  $Id$
14 */
15
16#if HAVE_CONFIG_H
17#include "config.h"
18#endif
19
20#include <sys/types.h>
21#include <errno.h>
22
23int pthread_atfork(
24  void (*prepare)(void),
25  void (*parent)(void),
26  void (*child)(void)
27)
28{
29  errno = ENOSYS;
30  return -1;
31}
Note: See TracBrowser for help on using the repository browser.