opuntiaOS - an operating system targeting x86 and ARMv7
at master 357 B view raw
1#ifndef _LIBC_SYS_SOCKET_H 2#define _LIBC_SYS_SOCKET_H 3 4#include <bits/sys/socket.h> 5#include <stddef.h> 6#include <sys/cdefs.h> 7#include <sys/types.h> 8 9__BEGIN_DECLS 10 11int socket(int domain, int type, int protocol); 12int bind(int sockfd, const char* name, int len); 13int connect(int sockfd, const char* name, int len); 14 15__END_DECLS 16 17#endif // _LIBC_SYS_SOCKET_H