summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-06-23 03:01:02 +0300
committerGurusamy Sarathy <gsar@cpan.org>1998-06-23 05:57:58 +0000
commit6990d9917c06c8c6c480c9c385d7d2ed536c8d24 (patch)
treefe4033231f56c21fb89cf945475af81a2a074be2 /config_h.SH
parentc8950503db5121238084c28ced6940eeead0e14e (diff)
downloadperl-6990d9917c06c8c6c480c9c385d7d2ed536c8d24.tar.gz
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
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH15
1 files changed, 15 insertions, 0 deletions
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 <<!GROK!THIS! >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 <<!GROK!THIS! >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
+ * <sys/types.h> to get any typedef'ed information.
+ */
+#define Dev_t $devtype /* <device> 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