path
stringlengths
14
112
content
stringlengths
0
6.32M
size
int64
0
6.32M
max_lines
int64
1
100k
repo_name
stringclasses
2 values
autogenerated
bool
1 class
cosmopolitan/libc/sock/select-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,847
87
jart/cosmopolitan
false
cosmopolitan/libc/sock/socket-sysv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,638
51
jart/cosmopolitan
false
cosmopolitan/libc/sock/sendto-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,842
46
jart/cosmopolitan
false
cosmopolitan/libc/sock/recv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,576
73
jart/cosmopolitan
false
cosmopolitan/libc/sock/listen.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,744
50
jart/cosmopolitan
false
cosmopolitan/libc/sock/listen-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,172
32
jart/cosmopolitan
false
cosmopolitan/libc/sock/xinet_ntop.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,462
42
jart/cosmopolitan
false
cosmopolitan/libc/sock/nointernet.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
11,866
343
jart/cosmopolitan
false
cosmopolitan/libc/sock/getsockname-sysv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,321
37
jart/cosmopolitan
false
cosmopolitan/libc/sock/socketpair-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,111
107
jart/cosmopolitan
false
cosmopolitan/libc/sock/select.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,049
93
jart/cosmopolitan
false
cosmopolitan/libc/sock/accept4.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,419
66
jart/cosmopolitan
false
cosmopolitan/libc/sock/pselect.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,585
106
jart/cosmopolitan
false
cosmopolitan/libc/sock/basesocket.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,462
62
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/pollfd.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_H_ #include "libc/calls/struct/sigset.h" #include "libc/calls/struct/timespec.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct pollfd { int32_t fd; int16_t events; int16_t revents; }; int poll(struc...
569
21
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr6.h
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_SOCKADDR6_H_ #define COSMOPOLITAN_LIBC_CALLS_STRUCT_SOCKADDR6_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct in6_addr { union { uint8_t s6_addr[16]; uint16_t s6_addr16[8]; uint32_t s6_addr32[4]; }; }; struct sockaddr_in6 { /* Linux+NT ABI */ uint16_t sin6_fami...
549
23
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct sockaddr { /* Linux+NT ABI */ uint16_t sa_family; /* AF_XXX */ char sa_data[14]; }; struct in_addr { /* ARPA ABI */ /* e.g. 127|0<<8|0<<16|1<...
1,487
51
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/pollfd.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_ #include "libc/calls/struct/sigset.h" #include "libc/calls/struct/timespec.h" #include "libc/mem/alloca.h" #include "libc/sock/struct/pollfd.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ i...
955
23
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/ifconf.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_IFCONF_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_IFCONF_H_ #include "libc/sock/struct/ifreq.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* * Structure used in SIOCGIFCONF request. * Used to retrieve interface configuration * for machine (useful for programs wh...
809
29
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/msghdr.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_ #include "libc/sock/struct/msghdr.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct msghdr_bsd { void *msg_name; uint32_t msg_namelen; struct iovec *msg_iov; uint32_t msg_iovlen...
740
24
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/ip_mreq.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_IP_MREQ_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_IP_MREQ_H_ #include "libc/sock/struct/sockaddr.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct ip_mreq { struct in_addr imr_multiaddr; /* IP multicast address of group */ struct in_addr imr_interface; /* lo...
476
15
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_INTERNAL_H_ #include "libc/mem/alloca.h" #include "libc/sock/struct/sockaddr.h" #include "libc/sock/struct/sockaddr6-bsd.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct sockaddr_bsd ...
1,616
55
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/cmsghdr.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define CMSG_DATA(cmsg) ((unsigned char *)(((struct cmsghdr *)(cmsg)) + 1)) #define CMSG_FIRSTHDR(mhdr) \ ((size_t)(mhdr)->msg...
1,544
43
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/linger.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_LINGER_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_LINGER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct linger { /* Linux+XNU+BSD ABI */ int32_t l_onoff; /* on/off */ int32_t l_linger; /* seconds */ }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + ...
392
14
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/cmsghdr.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_INTERNAL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct cmsghdr_bsd { uint32_t cmsg_len; int32_t cmsg_level; int32_t cmsg_type; }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINK...
396
15
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/msghdr.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_H_ #include "libc/calls/struct/iovec.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct msghdr { /* Linux+NT ABI */ void *msg_name; /* optional address */ uint32_t msg_namelen; /* ...
827
23
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr6-bsd.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR6_BSD_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR6_BSD_INTERNAL_H_ #include "libc/sock/struct/sockaddr6.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct sockaddr_in6_bsd { uint8_t sin6_len; uint8_t sin6_family; uint16_t sin6_port; ...
541
19
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/ifreq.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_IFREQ_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_IFREQ_H_ #include "libc/sock/struct/sockaddr.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define IF_NAMESIZE 16 #define IFNAMSIZ IF_NAMESIZE struct ifreq { union { char ifrn_name[IFNAMSIZ]; /* Interface na...
1,227
34
jart/cosmopolitan
false
cosmopolitan/libc/nt/iphlpapi.h
#ifndef COSMOPOLITAN_LIBC_NT_IPHLPAPI_H_ #define COSMOPOLITAN_LIBC_NT_IPHLPAPI_H_ #include "libc/nt/struct/ipadapteraddresses.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ...
3,796
38
jart/cosmopolitan
false
cosmopolitan/libc/nt/systeminfo.h
#ifndef COSMOPOLITAN_LIBC_NT_INFO_H_ #define COSMOPOLITAN_LIBC_NT_INFO_H_ #include "libc/nt/struct/systeminfo.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void GetSystemInfo(struct NtSystemInfo *lpSystemInfo); uint32_t GetSystemDirectory(char16_t *lpBuffer, uint32_t u...
871
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/thread.h
#ifndef COSMOPOLITAN_LIBC_NT_THREADS_H_ #define COSMOPOLITAN_LIBC_NT_THREADS_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ...
5,178
71
jart/cosmopolitan
false
cosmopolitan/libc/nt/version.h
#ifndef COSMOPOLITAN_LIBC_NT_VERSION_H_ #define COSMOPOLITAN_LIBC_NT_VERSION_H_ #include "libc/nt/struct/osversioninfo.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool IsAtLeastWindows10(void) pureconst; bool32 GetVersionEx(struct NtOsVersionInfo *lpVersionInformation); #if defined(__GNUC__) && !de...
779
25
jart/cosmopolitan
false
cosmopolitan/libc/nt/synchronization.h
#ifndef COSMOPOLITAN_LIBC_NT_SYNCHRONIZATION_H_ #define COSMOPOLITAN_LIBC_NT_SYNCHRONIZATION_H_ #include "libc/intrin/atomic.h" #include "libc/nt/struct/criticalsection.h" #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/linkedlist.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/struct/...
8,065
128
jart/cosmopolitan
false
cosmopolitan/libc/nt/messagebox.h
#ifndef COSMOPOLITAN_LIBC_NT_MESSAGEBOX_H_ #define COSMOPOLITAN_LIBC_NT_MESSAGEBOX_H_ #include "libc/nt/enum/dialogresult.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int MessageBox(int64_t hWnd, const char16_t *lpText, const char16_t *lpCaption, uint32_t mbType); int MessageBoxEx(int6...
571
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/runtime.h
#ifndef COSMOPOLITAN_LIBC_NT_RUNTIME_H_ #define COSMOPOLITAN_LIBC_NT_RUNTIME_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/thunk/msabi.h" #include "libc/nt/typedef/handlerroutine.h" /** * @fileoverview NT Obligatory Runtime Functions. * * These functions are placed in their own file because they're (a...
2,068
52
jart/cosmopolitan
false
cosmopolitan/libc/nt/ipc.h
#ifndef COSMOPOLITAN_LIBC_NT_IPC_H_ #define COSMOPOLITAN_LIBC_NT_IPC_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/securityattributes.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░â...
5,956
91
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh.h
#ifndef COSMOPOLITAN_LIBC_NT_PDH_H_ #define COSMOPOLITAN_LIBC_NT_PDH_H_ #include "libc/nt/struct/pdhfmtcountervalue.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░...
4,157
49
jart/cosmopolitan
false
cosmopolitan/libc/nt/events.h
#ifndef COSMOPOLITAN_LIBC_NT_EVENTS_H_ #define COSMOPOLITAN_LIBC_NT_EVENTS_H_ #include "libc/nt/struct/msg.h" #include "libc/nt/struct/point.h" #include "libc/nt/struct/securityattributes.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ...
5,124
68
jart/cosmopolitan
false
cosmopolitan/libc/nt/comdlg.h
#ifndef COSMOPOLITAN_LIBC_NT_COMDLG_H_ #define COSMOPOLITAN_LIBC_NT_COMDLG_H_ #include "libc/nt/struct/openfilename.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ...
3,679
38
jart/cosmopolitan
false
cosmopolitan/libc/nt/iocp.h
#ifndef COSMOPOLITAN_LIBC_NT_IOCP_H_ #define COSMOPOLITAN_LIBC_NT_IOCP_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/overlappedentry.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░â–...
5,536
78
jart/cosmopolitan
false
cosmopolitan/libc/nt/startupinfo.h
#ifndef COSMOPOLITAN_LIBC_NT_NTSTARTUPINFO_H_ #define COSMOPOLITAN_LIBC_NT_NTSTARTUPINFO_H_ #include "libc/nt/struct/procthreadattributelist.h" #include "libc/nt/struct/startupinfo.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void GetStartupInfo(struct NtStartupInfo *...
1,168
29
jart/cosmopolitan
false
cosmopolitan/libc/nt/master.sh
/usr/bin/env echo ' -*-mode:sh;indent-tabs-mode:nil;tab-width:8;coding:utf-8-*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
392,706
5,696
jart/cosmopolitan
false
cosmopolitan/libc/nt/memory.h
#ifndef COSMOPOLITAN_LIBC_NT_MEMORY_H_ #define COSMOPOLITAN_LIBC_NT_MEMORY_H_ #include "libc/nt/struct/memorybasicinformation.h" #include "libc/nt/struct/memoryrangeentry.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" /* ░░░░ ...
6,571
98
jart/cosmopolitan
false
cosmopolitan/libc/nt/errors.h
#ifndef COSMOPOLITAN_NT_ERRORS_H_ #define COSMOPOLITAN_NT_ERRORS_H_ #define kNtNoError 0 #define kNtErrorInsufficientBuffer 122 #define kNtErrorSuccess 0 #define kNtErrorInvalidFunction 1 /* ENOSYS */ #define kNtErrorFileNotFound ...
191,995
2,675
jart/cosmopolitan
false
cosmopolitan/libc/nt/ntdllimport.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,869
71
jart/cosmopolitan
false
cosmopolitan/libc/nt/files.h
#ifndef COSMOPOLITAN_LIBC_NT_FILES_H_ #define COSMOPOLITAN_LIBC_NT_FILES_H_ #include "libc/nt/struct/byhandlefileinformation.h" #include "libc/nt/struct/filesegmentelement.h" #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/genericmapping.h" #include "libc/nt/struct/objectattributes.h" #include "libc/nt/st...
13,472
238
jart/cosmopolitan
false
cosmopolitan/libc/nt/dll.h
#ifndef COSMOPOLITAN_LIBC_NT_DLL_H_ #define COSMOPOLITAN_LIBC_NT_DLL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓...
4,067
44
jart/cosmopolitan
false
cosmopolitan/libc/nt/sysv2nt.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,292
82
jart/cosmopolitan
false
cosmopolitan/libc/nt/automation.h
#ifndef COSMOPOLITAN_LIBC_NT_AUTOMATION_H_ #define COSMOPOLITAN_LIBC_NT_AUTOMATION_H_ #include "libc/nt/typedef/hookproc.h" #include "libc/nt/typedef/wndenumproc.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░...
4,560
54
jart/cosmopolitan
false
cosmopolitan/libc/nt/registry.h
#ifndef COSMOPOLITAN_LIBC_NT_REGISTRY_H_ #define COSMOPOLITAN_LIBC_NT_REGISTRY_H_ #include "libc/nt/enum/securityinformation.h" #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/struct/valent.h" /* ░░░░ ▒▒â...
9,298
138
jart/cosmopolitan
false
cosmopolitan/libc/nt/process.h
#ifndef COSMOPOLITAN_LIBC_NT_PROCESS_H_ #define COSMOPOLITAN_LIBC_NT_PROCESS_H_ #include "libc/nt/startupinfo.h" #include "libc/nt/struct/processentry32.h" #include "libc/nt/struct/processinformation.h" #include "libc/nt/struct/processmemorycounters.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/th...
6,260
86
jart/cosmopolitan
false
cosmopolitan/libc/nt/comms.h
#ifndef COSMOPOLITAN_LIBC_NT_COMMS_H_ #define COSMOPOLITAN_LIBC_NT_COMMS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓â–...
3,671
37
jart/cosmopolitan
false
cosmopolitan/libc/nt/ntdllimport.h
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,571
54
jart/cosmopolitan
false
cosmopolitan/libc/nt/debug.h
#ifndef COSMOPOLITAN_LIBC_NT_DEBUG_H_ #define COSMOPOLITAN_LIBC_NT_DEBUG_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓â–...
3,969
42
jart/cosmopolitan
false
cosmopolitan/libc/nt/winsock.h
#ifndef COSMOPOLITAN_LIBC_NT_WINSOCK_H_ #define COSMOPOLITAN_LIBC_NT_WINSOCK_H_ #include "libc/nt/struct/fdset.h" #include "libc/nt/struct/guid.h" #include "libc/nt/struct/iovec.h" #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/pollfd.h" #include "libc/nt/struct/timeval.h" #include "libc/sock/sock.h" #...
22,174
519
jart/cosmopolitan
false
cosmopolitan/libc/nt/paint.h
#ifndef COSMOPOLITAN_LIBC_NT_PAINT_H_ #define COSMOPOLITAN_LIBC_NT_PAINT_H_ #include "libc/nt/struct/drawtextparams.h" #include "libc/nt/struct/paintstruct.h" #include "libc/nt/struct/rect.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /*───────────...
2,552
47
jart/cosmopolitan
false
cosmopolitan/libc/nt/pedef.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_PEDEF_H_ #define COSMOPOLITAN_LIBC_NT_PEDEF_H_ /*───────────────────────────────────────────────────────────────────────────│─╗ │ αc...
17,446
386
jart/cosmopolitan
false
cosmopolitan/libc/nt/efi.h
#ifndef COSMOPOLITAN_LIBC_NT_EFI_H_ #define COSMOPOLITAN_LIBC_NT_EFI_H_ /* ▐██ ░█████████▓ ▐██▌ ██▓░ ▐█▌ ▐██ ░██░ ▓█▌ ▓██▒ ▓██ ▐██ ░██░ ▒█▓██░ ████░ ▐█▌ â–...
21,436
558
jart/cosmopolitan
false
cosmopolitan/libc/nt/accounting.h
#ifndef COSMOPOLITAN_LIBC_NT_ACCOUNTING_H_ #define COSMOPOLITAN_LIBC_NT_ACCOUNTING_H_ #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/iocounters.h" #include "libc/nt/struct/memorystatusex.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ...
5,879
75
jart/cosmopolitan
false
cosmopolitan/libc/nt/createfile.h
#ifndef COSMOPOLITAN_LIBC_NT_CREATEFILE_H_ #define COSMOPOLITAN_LIBC_NT_CREATEFILE_H_ #include "libc/nt/struct/securityattributes.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int64_t CreateFile( const char16_t *lpFileName, uint32_t dwDesiredAccess, uint32_t dwShareMode, struct NtSecurityAttri...
1,088
27
jart/cosmopolitan
false
cosmopolitan/libc/nt/nt.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ PKGS += LIBC_NT LIBC_NT_LIBS = $(foreach x,$(LIBC_NT_ARTIFACTS),$($(x))) LIBC_NT_HDRS = $(foreach x,$(LIBC_NT_ARTIFACT...
16,428
352
jart/cosmopolitan
false
cosmopolitan/libc/nt/codegen.sh
/usr/bin/env echo ' -*-mode:sh;indent-tabs-mode:nil;tab-width:8;coding:utf-8-*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,758
121
jart/cosmopolitan
false
cosmopolitan/libc/nt/windows.h
#ifndef COSMOPOLITAN_LIBC_NT_WINDOWS_H_ #define COSMOPOLITAN_LIBC_NT_WINDOWS_H_ #include "libc/nt/struct/rect.h" #include "libc/nt/struct/windowplacement.h" #include "libc/nt/struct/wndclass.h" #include "libc/nt/typedef/timerproc.h" /* ░░░░ ▒▒▒░░░▒...
6,593
102
jart/cosmopolitan
false
cosmopolitan/libc/nt/console.h
#ifndef COSMOPOLITAN_LIBC_NT_CONSOLE_H_ #define COSMOPOLITAN_LIBC_NT_CONSOLE_H_ #include "libc/nt/struct/charinfo.h" #include "libc/nt/struct/consolecursorinfo.h" #include "libc/nt/struct/consolescreenbufferinfo.h" #include "libc/nt/struct/consolescreenbufferinfoex.h" #include "libc/nt/struct/consoleselectioninfo.h" #i...
7,543
116
jart/cosmopolitan
false
cosmopolitan/libc/nt/ntdll.h
#ifndef COSMOPOLITAN_LIBC_NT_NTDLL_H_ #define COSMOPOLITAN_LIBC_NT_NTDLL_H_ #include "libc/nt/struct/context.h" #include "libc/nt/struct/criticalsection.h" #include "libc/nt/struct/filebasicinformation.h" #include "libc/nt/struct/filenetworkopeninformation.h" #include "libc/nt/struct/iostatusblock.h" #include "libc/nt/...
16,127
234
jart/cosmopolitan
false
cosmopolitan/libc/nt/signals.h
#ifndef COSMOPOLITAN_LIBC_NT_EXCEPTIONS_H_ #define COSMOPOLITAN_LIBC_NT_EXCEPTIONS_H_ #include "libc/nt/struct/context.h" #include "libc/nt/struct/ntexceptionpointers.h" #include "libc/nt/thunk/msabi.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░...
4,439
56
jart/cosmopolitan
false
cosmopolitan/libc/nt/codegen.h
#ifndef COSMOPOLITAN_LIBC_NT_CODEGEN_H_ #define COSMOPOLITAN_LIBC_NT_CODEGEN_H_ #include "ape/idata.internal.h" #include "ape/macros.internal.h" #endif /* COSMOPOLITAN_LIBC_NT_CODEGEN_H_ */
190
6
jart/cosmopolitan
false
cosmopolitan/libc/nt/privilege.h
#ifndef COSMOPOLITAN_LIBC_NT_PRIVILEGE_H_ #define COSMOPOLITAN_LIBC_NT_PRIVILEGE_H_ #include "libc/nt/struct/luid.h" #include "libc/nt/struct/tokenprivileges.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░â...
4,401
53
jart/cosmopolitan
false
cosmopolitan/libc/nt/system.h
#ifndef COSMOPOLITAN_LIBC_NT_SYSTEM_H_ #define COSMOPOLITAN_LIBC_NT_SYSTEM_H_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░â–...
3,851
40
jart/cosmopolitan
false
cosmopolitan/libc/nt/API-MS-Win-Core-Synch-l1-2-0/WakeByAddressSingle.S
#include "libc/nt/codegen.h" .imp API-MS-Win-Core-Synch-l1-2-0,__imp_WakeByAddressSingle,WakeByAddressSingle,116 .text.windows WakeByAddressSingle: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov %rdi,%rcx sub $32,%rsp call *__imp_WakeByAddressSingle(%rip) leave #elif defined(__aarch64__) mov x0,#0 ...
377
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/API-MS-Win-Core-Synch-l1-2-0/WakeByAddressAll.S
#include "libc/nt/codegen.h" .imp API-MS-Win-Core-Synch-l1-2-0,__imp_WakeByAddressAll,WakeByAddressAll,113 .text.windows WakeByAddressAll: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov %rdi,%rcx sub $32,%rsp call *__imp_WakeByAddressAll(%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret ...
362
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/API-MS-Win-Core-Synch-l1-2-0/WaitOnAddress.S
#include "libc/nt/codegen.h" .imp API-MS-Win-Core-Synch-l1-2-0,__imp_WaitOnAddress,WaitOnAddress,111 .text.windows WaitOnAddress: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov __imp_WaitOnAddress(%rip),%rax jmp __sysv2nt #elif defined(__aarch64__) mov x0,#0 ret #endif .endfn WaitOnAddress,globl ....
329
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhExpandCounterPathW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhExpandCounterPathW,PdhExpandCounterPathW,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfSetULongLongCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfSetULongLongCounterValue,PerfSetULongLongCounterValue,0
104
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfIncrementULongLongCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfIncrementULongLongCounterValue,PerfIncrementULongLongCounterValue,0
116
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfSetCounterSetInfo.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfSetCounterSetInfo,PerfSetCounterSetInfo,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetRawCounterArrayW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetRawCounterArrayW,PdhGetRawCounterArrayW,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfSetCounterRefValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfSetCounterRefValue,PerfSetCounterRefValue,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/UnloadPerfCounterTextStringsW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_UnloadPerfCounterTextStringsW,UnloadPerfCounterTextStringsW,0
106
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhCloseQuery.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhCloseQuery,PdhCloseQuery,0
74
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetCounterInfoW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetCounterInfoW,PdhGetCounterInfoW,0
84
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetDataSourceTimeRangeW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetDataSourceTimeRangeW,PdhGetDataSourceTimeRangeW,0
100
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfStartProvider.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfStartProvider,PerfStartProvider,0
82
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhSelectDataSourceW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhSelectDataSourceW,PdhSelectDataSourceW,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfQueryInstance.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfQueryInstance,PerfQueryInstance,0
82
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhUpdateLogW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhUpdateLogW,PdhUpdateLogW,0
74
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfEnumerateCounterSetInstances.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfEnumerateCounterSetInstances,PerfEnumerateCounterSetInstances,0
112
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetCounterTimeBase.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetCounterTimeBase,PdhGetCounterTimeBase,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhEnumObjectsHW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhEnumObjectsHW,PdhEnumObjectsHW,0
80
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhRemoveCounter.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhRemoveCounter,PdhRemoveCounter,0
80
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetRawCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetRawCounterValue,PdhGetRawCounterValue,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfIncrementULongCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfIncrementULongCounterValue,PerfIncrementULongCounterValue,0
108
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfQueryCounterInfo.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfQueryCounterInfo,PerfQueryCounterInfo,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhConnectMachineW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhConnectMachineW,PdhConnectMachineW,0
84
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhUpdateLogFileCatalog.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhUpdateLogFileCatalog,PdhUpdateLogFileCatalog,0
94
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfAddCounters.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfAddCounters,PerfAddCounters,0
78
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhCalculateCounterFromRawValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhCalculateCounterFromRawValue,PdhCalculateCounterFromRawValue,0
110
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetDefaultPerfCounterHW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetDefaultPerfCounterHW,PdhGetDefaultPerfCounterHW,0
100
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfQueryCounterData.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfQueryCounterData,PerfQueryCounterData,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhValidatePathExW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhValidatePathExW,PdhValidatePathExW,0
84
3
jart/cosmopolitan
false