diff options
author | Andrey Hristov <andrey@php.net> | 2003-07-19 19:23:34 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2003-07-19 19:23:34 +0000 |
commit | 5fcc682ebc5968fa4cbdf04ce143f801cd059fdd (patch) | |
tree | 831ed1cfbaa474ed388e6c646629e9288d34d65b /ext/sysvsem | |
parent | 71990112b77fe911ce743892758f5aef932eef84 (diff) | |
download | php-git-5fcc682ebc5968fa4cbdf04ce143f801cd059fdd.tar.gz |
proto fixes
Diffstat (limited to 'ext/sysvsem')
-rw-r--r-- | ext/sysvsem/sysvsem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sysvsem/sysvsem.c b/ext/sysvsem/sysvsem.c index b58d3f91b6..b6f7a502f9 100644 --- a/ext/sysvsem/sysvsem.c +++ b/ext/sysvsem/sysvsem.c @@ -165,7 +165,7 @@ PHP_MINIT_FUNCTION(sysvsem) #undef SETVAL_WANTS_PTR #endif -/* {{{ proto int sem_get(int key [, int max_acquire [, int perm [, int auto_release]]) +/* {{{ proto resource sem_get(int key [, int max_acquire [, int perm [, int auto_release]]) Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously */ PHP_FUNCTION(sem_get) { @@ -327,7 +327,7 @@ static void php_sysvsem_semop(INTERNAL_FUNCTION_PARAMETERS, int acquire) } /* }}} */ -/* {{{ proto int sem_acquire(int id) +/* {{{ proto bool sem_acquire(resource id) Acquires the semaphore with the given id, blocking if necessary */ PHP_FUNCTION(sem_acquire) { @@ -335,7 +335,7 @@ PHP_FUNCTION(sem_acquire) } /* }}} */ -/* {{{ proto int sem_release(int id) +/* {{{ proto bool sem_release(resource id) Releases the semaphore with the given id */ PHP_FUNCTION(sem_release) { @@ -343,7 +343,7 @@ PHP_FUNCTION(sem_release) } /* }}} */ -/* {{{ proto int sem_remove(int id) +/* {{{ proto bool sem_remove(resource id) Removes semaphore from Unix systems */ /* |