This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlcall: More punctuation changes
[perl5.git] / vos / vosish.h
1 #ifdef __GNUC__
2 #include "../unixish.h"
3 #else
4 #include "unixish.h"
5 #endif
6
7 /* VOS does not support SA_SIGINFO, so undefine the macro.  This
8    is a work-around for posix-1302.  */
9 #undef SA_SIGINFO
10
11 /* The following declaration is an avoidance for posix-950. */
12 extern int ioctl (int fd, int request, ...);
13
14 /* Specify a prototype for truncate() since we are supplying one. */
15 extern int truncate (const char *path, off_t len);
16
17 /* Specify a prototype for socketpair() since we supplying one. */
18 extern int socketpair (int family, int type, int protocol, int fd[2]);