From: Arrigo Triulzi <arrigo () lpac ! ac ! uk>
To: tru64-unix-managers
Subject: Minor bug in /usr/include/semaphore.h
Date: Thu, 25 Jan 1996 11:53:02 +0000 [thread overview]
Message-ID: <96076327921465.tru64-unix-managers.marc@archive.invalid> (raw)
Hello all,
if you #include <semaphore.h> in a C++ program you will find
the following patch useful (needed under OSF/1 3.2c):
--- semaphore.h.orig Thu Jan 25 11:50:43 1996
+++ semaphore.h Thu Jan 25 11:51:33 1996
@@ -97,7 +97,7 @@
_BEGIN_CPLUSPLUS
int sem_init __((sem_t *sem, int pshared, unsigned int value));
-int sem_destory __((sem_t *sem));
+int sem_destroy __((sem_t *sem));
sem_t *sem_open __((const char *name, int oflag, ...));
/* sem_t *sem_open(const char *name, int oflag, mode_t mode, unsigned int value); */
int sem_close __((sem_t *sem));
Ciao,
Arrigo
--
Arrigo Triulzi <arrigo@lpac.ac.uk> - +44-171-775-3247
London Parallel Applications Centre - London E1 4NS - UK
reply other threads:[~1996-01-25 11:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox