From: Jarkko Hietaniemi Date: Fri, 30 Jun 2000 14:58:18 +0000 (+0000) Subject: Point to perlipc for more SysV IPC examples. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=766d6147184f816ed760127b9be71cdd84823d25;p=p5sagit%2Fp5-mst-13.2.git Point to perlipc for more SysV IPC examples. p4raw-id: //depot/cfgperl@6295 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 78a6318..bf59669 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2495,13 +2495,13 @@ first to get the correct constant definitions. If CMD is C, then ARG must be a variable which will hold the returned C structure. Returns like C: the undefined value for error, C<"0 but true"> for zero, or the actual return value otherwise. See also -C and C documentation. +L, C, and C documentation. =item msgget KEY,FLAGS Calls the System V IPC function msgget(2). Returns the message queue -id, or the undefined value if there is an error. See also C -and C documentation. +id, or the undefined value if there is an error. See also +L and C and C documentation. =item msgrcv ID,VAR,SIZE,TYPE,FLAGS @@ -2511,7 +2511,8 @@ SIZE. Note that when a message is received, the message type as a native long integer will be the first thing in VAR, followed by the actual message. This packing may be opened with C. Taints the variable. Returns true if successful, or false if there is -an error. See also C and C documentation. +an error. See also L, C, and +C documentation. =item msgsnd ID,MSG,FLAGS @@ -3943,13 +3944,15 @@ semid_ds structure or semaphore value array. Returns like C: the undefined value for error, "C<0 but true>" for zero, or the actual return value otherwise. The ARG must consist of a vector of native short integers, which may be created with C. -See also C and C documentation. +See also L, C, C +documentation. =item semget KEY,NSEMS,FLAGS Calls the System V IPC function semget. Returns the semaphore id, or -the undefined value if there is an error. See also C and -C documentation. +the undefined value if there is an error. See also +L, C, C +documentation. =item semop KEY,OPSTRING @@ -3964,8 +3967,9 @@ following code waits on semaphore $semnum of semaphore id $semid: $semop = pack("sss", $semnum, -1, 0); die "Semaphore trouble: $!\n" unless semop($semid, $semop); -To signal the semaphore, replace C<-1> with C<1>. See also C -and C documentation. +To signal the semaphore, replace C<-1> with C<1>. See also +L, C, and C +documentation. =item send SOCKET,MSG,FLAGS,TO @@ -4025,13 +4029,13 @@ first to get the correct constant definitions. If CMD is C, then ARG must be a variable which will hold the returned C structure. Returns like ioctl: the undefined value for error, "C<0> but true" for zero, or the actual return value otherwise. -See also C documentation. +See also L and C documentation. =item shmget KEY,SIZE,FLAGS Calls the System V IPC function shmget. Returns the shared memory segment id, or the undefined value if there is an error. -See also C documentation. +See also L and C documentation. =item shmread ID,VAR,POS,SIZE @@ -4043,8 +4047,8 @@ detaching from it. When reading, VAR must be a variable that will hold the data read. When writing, if STRING is too long, only SIZE bytes are used; if STRING is too short, nulls are written to fill out SIZE bytes. Return true if successful, or false if there is an error. -shmread() taints the variable. See also C documentation and -the C module from CPAN. +shmread() taints the variable. See also L, +C documentation, and the C module from CPAN. =item shutdown SOCKET,HOW