summaryrefslogtreecommitdiff
path: root/beos/beosish.h
diff options
context:
space:
mode:
authorIngo Weinhold <unknown>2004-11-30 15:38:32 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-12-01 13:44:24 +0000
commitdbc1d98621f53e4a3938cf011ae90a189e72f69f (patch)
tree10af181eb3e36b988f92fa611324750c78226ee7 /beos/beosish.h
parentacd8d558460f297a79cf62ccca790c90790f8058 (diff)
downloadperl-dbc1d98621f53e4a3938cf011ae90a189e72f69f.tar.gz
[perl #32717] BeOS specific Updates
From: Ingo Weinhold (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-32717-101307.19.7097750538509@perl.org> p4raw-id: //depot/perl@23584
Diffstat (limited to 'beos/beosish.h')
-rw-r--r--beos/beosish.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/beos/beosish.h b/beos/beosish.h
index 66de1104b2..d50cc55514 100644
--- a/beos/beosish.h
+++ b/beos/beosish.h
@@ -11,5 +11,24 @@ pid_t beos_waitpid(pid_t process_id, int *status_location, int options);
/* This seems to be protoless. */
char *gcvt(double value, int num_digits, char *buffer);
+
+/* flock() operation flags */
+#define LOCK_SH (0x00)
+#define LOCK_EX (0x01)
+#define LOCK_UN (0x02)
+#define LOCK_NB (0x04)
+
+int flock(int fd, int operation);
+
+#undef close
+#define close beos_close
+
+int beos_close(int fd);
+
+
+#undef kill
+#define kill beos_kill
+int beos_kill(pid_t pid, int sig);
+
#endif