Re: [PATCH] ext/sysvsem semctl 4th argument

From: Date: Wed, 10 Jul 2002 02:27:15 +0000
Subject: Re: [PATCH] ext/sysvsem semctl 4th argument
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-85877@lists.php.net to get a copy of this message
Melvyn Sopacua wrote:
At 14:28 9-7-2002, Jani Taskinen shared with all of us:
    Did you notice ext/sysvsem/sysvsem.c line 45 having
    the HAVE_SEMUN defined even if it's not?
Now I did :-0 However - I don't have access to a system that has semctl with 3 arguments. Anyone?
I don't know the details, but it seems my Linux box (glibc 2.2.4) accepts 3 or 4 args. in sys/sem.h /* Semaphore control operation. */ extern int semctl (int __semid, int __semnum, int __cmd, ...) __THROW; It's funny English man page says it accpcepts only 4 args, but Japanese man page says it accepts 3 or 4 args. I'm not sure which one is right. -- Yasuo Ohgaki

« previous php.dev (#85877) next »