elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
libc
/
include
/
sys
/
socket.h
File editor
#ifndef __SYS_SOCKET_H #define __SYS_SOCKET_H #include <features.h> #include __SYSINC__(socket.h) typedef unsigned int socklen_t; int accept (int sock, struct sockaddr * restrict address, socklen_t * restrict address_len); int bind (int sock, const struct sockaddr * address, socklen_t address_len); int connect (int sock, const struct sockaddr * address, socklen_t address_len); int listen (int sock, int backlog); int socket (int domain, int type, int protocol); int setsockopt (int sock, int level, int option_name, const void *option_value, socklen_t option_len); int getsocknam (int sock, struct sockaddr * restrict address, /* syscall for two below */ socklen_t * restrict address_len, int peer); int getsockname (int sock, struct sockaddr * restrict address, socklen_t * restrict address_len); int getpeername (int sock, struct sockaddr * restrict address, socklen_t * restrict address_len); int sendto (int sock, const void *message, size_t length, unsigned int flags, const struct sockaddr *dest_addr, socklen_t dest_len); int recvfrom (int sock, void * restrict buffer, size_t length, unsigned int flags, struct sockaddr * restrict address, socklen_t * restrict address_len); #endif
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history