cosmopolitan/libc/sock/select.internal.h
Justine Tunney bb06230f1e
Avoid linker conflicts on DescribeFoo symbols
These symbols belong to the user. It caused a confusing error for Blink.
2024-08-24 18:10:22 -07:00

11 lines
399 B
C

#ifndef COSMOPOLITAN_LIBC_SOCK_SELECT_INTERNAL_H_
#define COSMOPOLITAN_LIBC_SOCK_SELECT_INTERNAL_H_
#include "libc/mem/alloca.h"
#include "libc/sock/select.h"
COSMOPOLITAN_C_START_
const char *_DescribeFdSet(char[100], ssize_t, int, fd_set *) libcesque;
#define DescribeFdSet(x, y, z) _DescribeFdSet(alloca(100), x, y, z)
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_SOCK_SELECT_INTERNAL_H_ */