3 # Copyright (c) 1997 Graham Barr <gbarr@pobox.com>. All rights reserved.
4 # This program is free software; you can redistribute it and/or
5 # modify it under the same terms as Perl itself.
10 use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION $XS_VERSION);
18 $XS_VERSION = $VERSION;
19 $VERSION = eval $VERSION;
22 GETALL GETNCNT GETPID GETVAL GETZCNT
24 IPC_ALLOC IPC_CREAT IPC_EXCL IPC_GETACL IPC_LOCKED IPC_M
25 IPC_NOERROR IPC_NOWAIT IPC_PRIVATE IPC_R IPC_RMID IPC_SET
26 IPC_SETACL IPC_SETLABEL IPC_STAT IPC_W IPC_WANTED
28 MSG_FWAIT MSG_LOCKED MSG_MWAIT MSG_NOERROR MSG_QWAIT
29 MSG_R MSG_RWAIT MSG_STAT MSG_W MSG_WWAIT
31 SEM_A SEM_ALLOC SEM_DEST SEM_ERR SEM_ORDER SEM_R SEM_UNDO
37 SHM_A SHM_CLEAR SHM_COPY SHM_DCACHE SHM_DEST SHM_ECACHE
38 SHM_FMAP SHM_ICACHE SHM_INIT SHM_LOCK SHM_LOCKED SHM_MAP
39 SHM_NOSWAP SHM_R SHM_RDONLY SHM_REMOVED SHM_RND SHM_SHARE_MMU
40 SHM_SHATTR SHM_SIZE SHM_UNLOCK SHM_W
42 S_IRUSR S_IWUSR S_IRWXU
43 S_IRGRP S_IWGRP S_IRWXG
44 S_IROTH S_IWOTH S_IRWXO
50 # If I inherit DynaLoader then I inherit AutoLoader and I DON'T WANT TO
53 # DynaLoader calls dl_load_flags as a static method.
54 *dl_load_flags = DynaLoader->can('dl_load_flags');
57 __PACKAGE__->can('bootstrap') || \&DynaLoader::bootstrap
58 }->(__PACKAGE__, $XS_VERSION);
67 IPC::SysV - SysV IPC constants
71 use IPC::SysV qw(IPC_STAT IPC_PRIVATE);
75 C<IPC::SysV> defines and conditionally exports all the constants
76 defined in your system include files which are needed by the SysV
77 IPC calls. Common ones include
79 IPC_CREATE IPC_EXCL IPC_NOWAIT IPC_PRIVATE IPC_RMID IPC_SET IPC_STAT
80 GETVAL SETVAL GETPID GETNCNT GETZCNT GETALL SETALL
82 SHM_RDONLY SHM_RND SHMLBA
86 S_IRUSR S_IWUSR S_IRWXU
87 S_IRGRP S_IWGRP S_IRWXG
88 S_IROTH S_IWOTH S_IRWXO
90 but your system might have more.
94 =item ftok( PATH, ID )
96 Return a key based on PATH and ID, which can be used as a key for
97 C<msgget>, C<semget> and C<shmget>. See L<ftok>
103 L<IPC::Msg>, L<IPC::Semaphore>, L<ftok>
107 Graham Barr <gbarr@pobox.com>
108 Jarkko Hietaniemi <jhi@iki.fi>
112 Copyright (c) 1997 Graham Barr. All rights reserved.
113 This program is free software; you can redistribute it and/or modify it
114 under the same terms as Perl itself.