From 6990d9917c06c8c6c480c9c385d7d2ed536c8d24 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 23 Jun 1998 03:01:02 +0300 Subject: applied patch, moved #define mkfifo ... from perl.h to POSIX.xs Message-Id: <199806222101.AAA16456@alpha.hut.fi> Subject: [PATCH] _67: somebody said POSIX::mknod? p4raw-id: //depot/perl@1199 --- config_h.SH | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'config_h.SH') diff --git a/config_h.SH b/config_h.SH index aedfa6db5a..781879291f 100644 --- a/config_h.SH +++ b/config_h.SH @@ -428,6 +428,14 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_mkfifo HAS_MKFIFO /**/ +/* HAS_MKNOD: + * This symbol, if defined, indicates that the mknod routine is + * available to create character and block special files. Otherwise, + * mknod should be able to do it for you. However, if mknod is there, + * mknod might require super-user privileges which mknod will not. + */ +#$d_mknod HAS_MKNOD /**/ + /* HAS_MKTIME: * This symbol, if defined, indicates that the mktime routine is * available. @@ -2025,6 +2033,13 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #define Gid_t $gidtype /* Type for getgid(), etc... */ +/* Dev_t: + * This symbol holds the type used to declare device numbers. + * It can be int, long, dev_t, etc... It may be necessary to include + * to get any typedef'ed information. + */ +#define Dev_t $devtype /* type */ + /* Off_t: * This symbol holds the type used to declare offsets in the kernel. * It can be int, long, off_t, etc... It may be necessary to include -- cgit v1.2.1