From 5fcc682ebc5968fa4cbdf04ce143f801cd059fdd Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Sat, 19 Jul 2003 19:23:34 +0000 Subject: proto fixes --- ext/sysvsem/sysvsem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/sysvsem') 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 */ /* -- cgit v1.2.1