From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076341621332.tru64-unix-managers.marc@archive.invalid> From: Laurent Deniel Date: Sat, 02 Nov 1996 12:50:17 +0000 To: tru64-unix-managers Subject: strange semop failures X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076341621332 Dear Managers, I have few problems (twice a year) with the semop system call. A program which usually works fine failed on a semaphore operation. The errno error code was either no set (0) or set to a strange value (not documented). As state in the semop manual page, the program considers that the semop operation succeeds if it returns a zero value. But I wonder if the semop system call may return a postive value on success or if there is a bug in the semop implementation. I would be pleased if one could send me the kernel source code of the semop system call. Up to now, I have no response from Digital support. (I am using DU 3.2C, but I had the same problem on Ultrix 4.3.1, but never on AIX, HPUX, Solaris, LynxOS ... this is why I consider that my program is correctly written) Thanks a lot. Laurent. -- Laurent DENIEL | E-mail: deniel@worldnet.fr Paris, FRANCE | WWW : http://www.worldnet.net/~deniel