File: sem.h

package info (click to toggle)
conquest 8.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,984 kB
  • ctags: 3,086
  • sloc: ansic: 39,393; sh: 8,540; yacc: 446; makefile: 296; lex: 146
file content (19 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/************************************************************************
 *
 * sem.h - semaphore operations on the common block.
 *
 * $Id: sem.c,v 1.11 2004/11/14 08:26:40 jon Exp $
 *
 * Copyright 1999-2005 Jon Trulson under the ARTISTIC LICENSE. (See LICENSE).
 ***********************************************************************/

#ifndef __SEM_H
#define __SEM_H

char *semGetName(int what);
int semInit(void);
void Lock(int what);
void Unlock(int what);
char *semGetStatusStr(void);

#endif /* __SEM_H */