File: lock.h

package info (click to toggle)
hashcash 1.21-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 868 kB
  • ctags: 870
  • sloc: ansic: 8,476; perl: 925; sh: 298; makefile: 226; python: 41
file content (13 lines) | stat: -rw-r--r-- 223 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* -*- Mode: C; c-file-style: "stroustrup" -*- */

#if !defined( _lock_h )
#define _lock_h

#include <stdio.h>
#include <sys/file.h>

int lock_write( FILE* f );
int lock_read( FILE* f );
int lock_unlock( FILE* f );

#endif