php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #28135 ext/sysvsem functions return/use resources not integer ids
Submitted: 2004-04-24 15:57 UTC Modified: 2004-04-24 21:44 UTC
From: andrey@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: andrey@php.net
New email:
PHP Version: OS:

 

 [2004-04-24 15:57 UTC] andrey@php.net
Description:
------------
According to the documentation all ext/sysvsem functions return or use integer ids as identifiers of semaphores. That's not true.
The functions are :
# sem_acquire - uses resource
# sem_get - returns resource
# sem_release - uses resource
# sem_remove - uses resource

The protos in ext/sysvsem/sysvsem.c are correct.

Andrey


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-24 21:44 UTC] betz@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of betz
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f3f3f12dad3c6aeaff15890ec265beb32f88d2b9
Log: bugfix #28135: proto fixes
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 11:00:01 2025 UTC