summaryrefslogtreecommitdiff
path: root/beos.h
blob: 0143fce44f433464a4c3244f791a245e0ee1fb6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);