Remove a bunch of stuff that shouldn't be in docs

This commit is contained in:
Justine Tunney 2022-09-20 02:57:46 -07:00
parent 2cc1d5ac4c
commit bfb85fe6d0
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
11 changed files with 18 additions and 39 deletions

View file

@ -17,22 +17,15 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/calls/internal.h"
#include "libc/intrin/strace.internal.h"
#include "libc/calls/struct/iovec.h"
#include "libc/calls/struct/fd.internal.h"
#include "libc/errno.h"
#include "libc/intrin/likely.h"
#include "libc/nt/struct/iovec.h"
#include "libc/nt/struct/overlapped.h"
#include "libc/nt/winsock.h"
#include "libc/sock/internal.h"
#include "libc/sock/syscall_fd.internal.h"
#include "libc/sysv/errfuns.h"
/**
* Performs stream socket receive on New Technology.
*
* @param fd must be a socket
* @return number of bytes received, or -1 w/ errno
*/
textwindows ssize_t sys_recv_nt(struct Fd *fd, const struct iovec *iov,
size_t iovlen, uint32_t flags) {
int err;

View file

@ -25,12 +25,6 @@
#include "libc/sock/syscall_fd.internal.h"
#include "libc/sysv/errfuns.h"
/**
* Performs datagram receive on New Technology.
*
* @param fd must be a socket
* @return number of bytes received, or -1 w/ errno
*/
textwindows ssize_t sys_recvfrom_nt(struct Fd *fd, const struct iovec *iov,
size_t iovlen, uint32_t flags,
void *opt_out_srcaddr,

View file

@ -23,12 +23,6 @@
#include "libc/sock/internal.h"
#include "libc/sysv/errfuns.h"
/**
* Performs stream socket send on the New Technology.
*
* @param fd must be a socket
* @return number of bytes handed off, or -1 w/ errno
*/
textwindows ssize_t sys_send_nt(int fd, const struct iovec *iov, size_t iovlen,
uint32_t flags) {
ssize_t rc;

View file

@ -23,12 +23,6 @@
#include "libc/sock/internal.h"
#include "libc/sysv/errfuns.h"
/**
* Performs datagram socket send on the New Technology.
*
* @param fd must be a socket
* @return number of bytes handed off, or -1 w/ errno
*/
textwindows ssize_t sys_sendto_nt(int fd, const struct iovec *iov,
size_t iovlen, uint32_t flags,
void *opt_in_addr, uint32_t in_addrsize) {