source: rtems/cpukit/posix/src/pthreadatfork.c @ f26145b

4.104.114.84.95
Last change on this file since f26145b was 874297f3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/16/04 at 10:01:03

Remove stray white spaces.

  • Property mode set to 100644
File size: 625 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.