diff options
author | Yukihiro Matsumoto <matz@ruby-lang.org> | 1997-10-15 18:08:37 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-17 22:09:33 +0900 |
commit | 2a4ba10e2d68c09ddb2e3f5751f5161c00a13bf5 (patch) | |
tree | 13190036ce10900901e1ff5b559ececbdc05a167 /missing/nt.h | |
parent | 7ad198827b6029d5338c6a2dfe68248da25e9db5 (diff) |
version 1.0-971015v1_0_971015
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-1.0-971015.tar.gz
Wed Oct 15 18:08:37 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
* version 1.0-971015
Diffstat (limited to 'missing/nt.h')
-rw-r--r-- | missing/nt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/missing/nt.h b/missing/nt.h index cf9f4cb00a..70132b4577 100644 --- a/missing/nt.h +++ b/missing/nt.h @@ -147,6 +147,7 @@ extern int NtMakeCmdVector(char *, char ***, int); extern char *NtGetLib(void); extern char *NtGetBin(void); extern FILE *mypopen(char *, char *); +extern int flock(int fd, int oper); // // define this so we can do inplace editing @@ -190,6 +191,14 @@ extern char *mystrerror(int); #define HAVE_WAITPID 1 #define HAVE_GETCWD 1 +#define LOCK_SH 1 +#define LOCK_EX 2 +#define LOCK_NB 4 +#define LOCK_UN 8 +#ifndef EWOULDBLOCK +#define EWOULDBLOCK 10035 /* EBASEERR + 35 (winsock.h) */ +#endif + #ifdef popen #undef popen #define popen mypopen |