summaryrefslogtreecommitdiff
path: root/beos.h
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-12-07 02:53:31 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-12-07 02:53:31 -0800
commitcbb6286cb92020dd7ae88798ed831ed76fd2130e (patch)
tree782a01c00d5e064aa67ea3f9241a8ef1de1060c6 /beos.h
downloadlinks-cbb6286cb92020dd7ae88798ed831ed76fd2130e.tar.gz
links-cbb6286cb92020dd7ae88798ed831ed76fd2130e.tar.bz2
links-cbb6286cb92020dd7ae88798ed831ed76fd2130e.zip
Imported Upstream version 2.6upstream/2.6upstream
Diffstat (limited to 'beos.h')
-rw-r--r--beos.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/beos.h b/beos.h
new file mode 100644
index 0000000..0143fce
--- /dev/null
+++ b/beos.h
@@ -0,0 +1,22 @@
+int be_socket(int, int, int);
+int be_connect(int, struct sockaddr *, int);
+int be_getpeername(int, struct sockaddr *, int *);
+int be_getsockname(int, struct sockaddr *, int *);
+int be_listen(int, int);
+int be_accept(int, struct sockaddr *, int *);
+int be_bind(int, struct sockaddr *, int);
+int be_pipe(int *);
+int be_read(int, void *, int);
+int be_write(int, void *, int);
+int be_close(int);
+int be_select(int, struct fd_set *, struct fd_set *, struct fd_set *, struct timeval *);
+int be_getsockopt(int, int, int, void *, int *);
+
+int start_thr(void (*fn)(void *), void *data, unsigned char *name);
+
+int get_input_handle(void);
+void block_stdin(void);
+void unblock_stdin(void);
+
+void error(unsigned char *, ...);
+void fatal_tty_exit(void);