summaryrefslogtreecommitdiff
path: root/djgpp/djgpp.h
blob: bb792e204e5fd5357cb183ea47adb66ecb491ef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef PERL_DJGPP_DJGPP_H
#define PERL_DJGPP_DJGPP_H

#include <libc/stubs.h>
#include <io.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libc/file.h>
#include <process.h>
#include <fcntl.h>
#include <glob.h>
#include <sys/fsext.h>
#include <crt0.h>
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

FILE *
djgpp_popen (const char *cm, const char *md);

int
djgpp_pclose (FILE *pp);

int
do_aspawn (pTHX_ SV *really,SV **mark,SV **sp);

int
do_spawn2 (pTHX_ char *cmd,int execf);

int
do_spawn (pTHX_ char *cmd);

bool
Perl_do_exec (pTHX_ const char *cmd);

void
Perl_init_os_extras(pTHX);

char
*djgpp_pathexp (const char *p);

void
Perl_DJGPP_init (int *argcp,char ***argvp);

int
djgpp_fflush (FILE *fp);

/* DJGPP utility functions without prototypes? */

int _is_unixy_shell(char *s);

#endif