tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Minor bug in /usr/include/semaphore.h
@ 1996-01-25 11:53 Arrigo Triulzi
  0 siblings, 0 replies; only message in thread
From: Arrigo Triulzi @ 1996-01-25 11:53 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-01-25 11:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-25 11:53 Minor bug in /usr/include/semaphore.h Arrigo Triulzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox