mirror of
https://github.com/rfivet/uemacs.git
synced 2025-11-23 11:41:15 -05:00
lock only for BSD or SVR4
This commit is contained in:
4
efunc.h
4
efunc.h
@@ -65,10 +65,14 @@
|
|||||||
/* eval.c */
|
/* eval.c */
|
||||||
#include "eval.h"
|
#include "eval.h"
|
||||||
|
|
||||||
|
#if BSD | SVR4
|
||||||
/* lock.c */
|
/* lock.c */
|
||||||
#include "lock.h"
|
#include "lock.h"
|
||||||
|
|
||||||
|
#if (FILOCK && BSD) || SVR4
|
||||||
/* pklock.c */
|
/* pklock.c */
|
||||||
#include "pklock.h"
|
#include "pklock.h"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
8
lock.h
8
lock.h
@@ -1,6 +1,14 @@
|
|||||||
|
#ifndef _LOCK_H_
|
||||||
|
#define _LOCK_H_
|
||||||
|
|
||||||
|
#if BSD | SVR4
|
||||||
|
|
||||||
int lockchk( char *fname) ;
|
int lockchk( char *fname) ;
|
||||||
int lockrel( void) ;
|
int lockrel( void) ;
|
||||||
int lock( char *fname) ;
|
int lock( char *fname) ;
|
||||||
int unlock( char *fname) ;
|
int unlock( char *fname) ;
|
||||||
void lckerror( char *errstr) ;
|
void lckerror( char *errstr) ;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user