#23822 [Opn->Csd]: No mention of ftok on shmop_open

From: Date: Tue, 27 May 2003 08:16:43 +0000
Subject: #23822 [Opn->Csd]: No mention of ftok on shmop_open
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353931@lists.php.net to get a copy of this message
ID: 23822 Updated by: derick@php.net Reported By: davey@php.net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: 4.3.2RC4 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-05-26 19:30:18] davey@php.net I have just spent about 2hrs looking for how to generate a key for the first argument in shmop_open(). I ended up visiting #C on freenode to ask them as the notes on shmop_open() mentions the API is based on C's shm API, they gave me the C answer and quick search for ftok meant I had found what I needed. Could you add a 'See Also: ftok()' to the shmop_open() page and also perhaps to ref.shmop.php Aswell as ftok saying its a 'long' int and any number within that range is fine (for people who don't want to use ftok/use PHP < 4.2.0) Full docs on ftok would be nice also, sure they can't be long! - Davey ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23822&edit=1

« previous php.doc (#969353931) next »