File: udpc_process.h

package info (click to toggle)
udpcast 20120424-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 852 kB
  • ctags: 1,005
  • sloc: ansic: 7,709; sh: 2,838; perl: 227; makefile: 114
file content (19 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef UDPC_PROCESS_H
#define UDPC_PROCESS_H

#ifdef __MINGW32__

#include <process.h>
#include <fcntl.h>

#define pipe(a) _pipe((a), 0, _O_BINARY | _O_NOINHERIT)
#define waitpid(a,b,c) _cwait(b,a,c)

#else /* __MINGW32__ */
#include <sys/wait.h>

#endif /* __MINGW32__ */

int open2(int in, int out, char **arg, int closeFd);

#endif