GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Mknod(3) User Contributed Perl Documentation Mknod(3)
 

Mknod - Perl extension for the mknod(2) call

  use Mknod;
  # create a pipe 
  mknod('hole', S_IFIFO|0644);
  # or a device
  mknod('ttyS0', S_IFCHR|0644, 4|64);

  It seemed to me this system call wasnt available to perl yet.
  If I was just looking in the wrong place, please let me know:)
  Returns 1 on ok and 0 on failure.

  mknod()
  S_IFREG
  S_IFIFO
  S_IFBLK
  S_IFCHR
This behaviour can be prevented:
use Mknod ();
Mknod::mknod(...)

  mknod(1)
  mknod(2)

Raoul Zwart, <rlzwart@cpan.org<gt>

Copyright 2003 by Raoul Zwart
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2003-06-17 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.