mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 12:18:31 +00:00
Remove _Hide keyword
It never did anything and isn't worthwhile as documentation.
This commit is contained in:
parent
4fb6cbc1fe
commit
e0c2b91b3e
131 changed files with 716 additions and 917 deletions
|
@ -6,24 +6,23 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int64_t sys_preadv(int, struct iovec *, int, int64_t, int64_t) _Hide;
|
||||
int64_t sys_pwritev(int, const struct iovec *, int, int64_t, int64_t) _Hide;
|
||||
int64_t sys_readv(int32_t, const struct iovec *, int32_t) _Hide;
|
||||
int64_t sys_vmsplice(int, const struct iovec *, int64_t, uint32_t) _Hide;
|
||||
int64_t sys_writev(int32_t, const struct iovec *, int32_t) _Hide;
|
||||
size_t __iovec_size(const struct iovec *, size_t) _Hide;
|
||||
ssize_t WritevUninterruptible(int, struct iovec *, int);
|
||||
ssize_t sys_read_nt(struct Fd *, const struct iovec *, size_t, int64_t) _Hide;
|
||||
ssize_t sys_readv_metal(struct Fd *, const struct iovec *, int) _Hide;
|
||||
ssize_t sys_readv_nt(struct Fd *, const struct iovec *, int) _Hide;
|
||||
ssize_t sys_readv_serial(struct Fd *, const struct iovec *, int) _Hide;
|
||||
ssize_t sys_write_nt(int, const struct iovec *, size_t, ssize_t) _Hide;
|
||||
ssize_t sys_writev_metal(struct Fd *, const struct iovec *, int) _Hide;
|
||||
ssize_t sys_writev_nt(int, const struct iovec *, int) _Hide;
|
||||
ssize_t sys_writev_serial(struct Fd *, const struct iovec *, int) _Hide;
|
||||
ssize_t sys_send_nt(int, const struct iovec *, size_t, uint32_t) _Hide;
|
||||
ssize_t __robust_writev(int, struct iovec *, int);
|
||||
int64_t sys_preadv(int, struct iovec *, int, int64_t, int64_t);
|
||||
int64_t sys_pwritev(int, const struct iovec *, int, int64_t, int64_t);
|
||||
int64_t sys_readv(int32_t, const struct iovec *, int32_t);
|
||||
int64_t sys_vmsplice(int, const struct iovec *, int64_t, uint32_t);
|
||||
int64_t sys_writev(int32_t, const struct iovec *, int32_t);
|
||||
ssize_t sys_read_nt(struct Fd *, const struct iovec *, size_t, int64_t);
|
||||
ssize_t sys_readv_metal(struct Fd *, const struct iovec *, int);
|
||||
ssize_t sys_readv_nt(struct Fd *, const struct iovec *, int);
|
||||
ssize_t sys_readv_serial(struct Fd *, const struct iovec *, int);
|
||||
ssize_t sys_write_nt(int, const struct iovec *, size_t, ssize_t);
|
||||
ssize_t sys_writev_metal(struct Fd *, const struct iovec *, int);
|
||||
ssize_t sys_writev_nt(int, const struct iovec *, int);
|
||||
ssize_t sys_writev_serial(struct Fd *, const struct iovec *, int);
|
||||
ssize_t sys_send_nt(int, const struct iovec *, size_t, uint32_t);
|
||||
ssize_t sys_sendto_nt(int, const struct iovec *, size_t, uint32_t, void *,
|
||||
uint32_t) _Hide;
|
||||
uint32_t);
|
||||
|
||||
const char *DescribeIovec(char[300], ssize_t, const struct iovec *, int);
|
||||
#define DescribeIovec(x, y, z) DescribeIovec(alloca(300), x, y, z)
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int sys_getitimer(int, struct itimerval *) _Hide;
|
||||
int sys_setitimer(int, const struct itimerval *, struct itimerval *) _Hide;
|
||||
int sys_setitimer_nt(int, const struct itimerval *, struct itimerval *) _Hide;
|
||||
int sys_getitimer(int, struct itimerval *);
|
||||
int sys_setitimer(int, const struct itimerval *, struct itimerval *);
|
||||
int sys_setitimer_nt(int, const struct itimerval *, struct itimerval *);
|
||||
|
||||
const char *DescribeItimerval(char[90], int, const struct itimerval *);
|
||||
#define DescribeItimerval(rc, ts) DescribeItimerval(alloca(90), rc, ts)
|
||||
|
|
|
@ -112,7 +112,7 @@ union metastat {
|
|||
struct stat_netbsd netbsd;
|
||||
};
|
||||
|
||||
void __stat2cosmo(struct stat *restrict, const union metastat *) _Hide;
|
||||
void __stat2cosmo(struct stat *restrict, const union metastat *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int sys_getrlimit(int, struct rlimit *) _Hide;
|
||||
int sys_setrlimit(int, const struct rlimit *) _Hide;
|
||||
int sys_setrlimit_nt(int, const struct rlimit *) _Hide;
|
||||
int sys_getrlimit(int, struct rlimit *);
|
||||
int sys_setrlimit(int, const struct rlimit *);
|
||||
int sys_setrlimit_nt(int, const struct rlimit *);
|
||||
|
||||
const char *DescribeRlimit(char[64], int, const struct rlimit *);
|
||||
#define DescribeRlimit(rc, rl) DescribeRlimit(alloca(64), rc, rl)
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int __sys_getrusage(int, struct rusage *) _Hide;
|
||||
int __sys_wait4(int, int *, int, struct rusage *) _Hide;
|
||||
int sys_getrusage(int, struct rusage *) _Hide;
|
||||
int sys_wait4(int, int *, int, struct rusage *) _Hide;
|
||||
void __rusage2linux(struct rusage *) _Hide;
|
||||
int sys_getrusage_nt(int, struct rusage *) _Hide;
|
||||
int __sys_getrusage(int, struct rusage *);
|
||||
int __sys_wait4(int, int *, int, struct rusage *);
|
||||
int sys_getrusage(int, struct rusage *);
|
||||
int sys_wait4(int, int *, int, struct rusage *);
|
||||
void __rusage2linux(struct rusage *);
|
||||
int sys_getrusage_nt(int, struct rusage *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -54,11 +54,11 @@ union metasigaction {
|
|||
struct sigaction_xnu_out xnu_out;
|
||||
};
|
||||
|
||||
void __sigenter_xnu(int, struct siginfo *, void *) _Hide;
|
||||
void __sigenter_wsl(int, struct siginfo *, void *) _Hide;
|
||||
void __sigenter_netbsd(int, struct siginfo *, void *) _Hide;
|
||||
void __sigenter_freebsd(int, struct siginfo *, void *) _Hide;
|
||||
void __sigenter_openbsd(int, struct siginfo *, void *) _Hide;
|
||||
void __sigenter_xnu(int, struct siginfo *, void *);
|
||||
void __sigenter_wsl(int, struct siginfo *, void *);
|
||||
void __sigenter_netbsd(int, struct siginfo *, void *);
|
||||
void __sigenter_freebsd(int, struct siginfo *, void *);
|
||||
void __sigenter_openbsd(int, struct siginfo *, void *);
|
||||
|
||||
const char *DescribeSigaction(char[256], int, const struct sigaction *);
|
||||
#define DescribeSigaction(rc, sa) DescribeSigaction(alloca(256), rc, sa)
|
||||
|
|
|
@ -16,7 +16,7 @@ union siginfo_meta {
|
|||
struct siginfo_netbsd netbsd;
|
||||
};
|
||||
|
||||
void __siginfo2cosmo(struct siginfo *, const union siginfo_meta *) _Hide;
|
||||
void __siginfo2cosmo(struct siginfo *, const union siginfo_meta *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int sys_sigqueueinfo(int, const siginfo_t *) _Hide;
|
||||
int sys_sigqueueinfo(int, const siginfo_t *);
|
||||
|
||||
const char *DescribeSiginfo(char[300], int, const siginfo_t *);
|
||||
#define DescribeSiginfo(x, y) DescribeSiginfo(alloca(300), x, y)
|
||||
|
|
|
@ -5,11 +5,10 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int __sys_sigprocmask(int, const struct sigset *, struct sigset *,
|
||||
uint64_t) _Hide;
|
||||
int sys_sigprocmask(int, const struct sigset *, struct sigset *) _Hide;
|
||||
int sys_sigsuspend(const struct sigset *, uint64_t) _Hide;
|
||||
int sys_sigpending(struct sigset *, size_t) _Hide;
|
||||
int __sys_sigprocmask(int, const struct sigset *, struct sigset *, uint64_t);
|
||||
int sys_sigprocmask(int, const struct sigset *, struct sigset *);
|
||||
int sys_sigsuspend(const struct sigset *, uint64_t);
|
||||
int sys_sigpending(struct sigset *, size_t);
|
||||
|
||||
const char *DescribeSigset(char[128], int, const sigset_t *);
|
||||
#define DescribeSigset(rc, ss) DescribeSigset(alloca(128), rc, ss)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int sys_sigqueue(int, int, const union sigval) _Hide;
|
||||
int sys_sigqueue(int, int, const union sigval);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int sys_fstat(int, struct stat *) _Hide;
|
||||
int sys_fstatat(int, const char *, struct stat *, int) _Hide;
|
||||
int sys_fstat_nt(int64_t, struct stat *) _Hide;
|
||||
int sys_fstatat_nt(int, const char *, struct stat *, int) _Hide;
|
||||
int sys_lstat_nt(const char *, struct stat *) _Hide;
|
||||
int sys_fstat(int, struct stat *);
|
||||
int sys_fstatat(int, const char *, struct stat *, int);
|
||||
int sys_fstat_nt(int64_t, struct stat *);
|
||||
int sys_fstatat_nt(int, const char *, struct stat *, int);
|
||||
int sys_lstat_nt(const char *, struct stat *);
|
||||
int sys_fstat_metal(int, struct stat *);
|
||||
|
||||
const char *DescribeStat(char[300], int, const struct stat *);
|
||||
|
|
|
@ -17,7 +17,7 @@ union statfs_meta {
|
|||
struct statfs_netbsd netbsd;
|
||||
};
|
||||
|
||||
void statfs2cosmo(struct statfs *, const union statfs_meta *) _Hide;
|
||||
void statfs2cosmo(struct statfs *, const union statfs_meta *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int sys_sysinfo(struct sysinfo *) _Hide;
|
||||
int sys_sysinfo_nt(struct sysinfo *) _Hide;
|
||||
int sys_sysinfo(struct sysinfo *);
|
||||
int sys_sysinfo_nt(struct sysinfo *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -6,26 +6,26 @@
|
|||
COSMOPOLITAN_C_START_
|
||||
/* clang-format off */
|
||||
|
||||
int __sys_clock_nanosleep(int, int, const struct timespec *, struct timespec *) _Hide;
|
||||
int __sys_utimensat(int, const char *, const struct timespec[2], int) _Hide;
|
||||
int __utimens(int, const char *, const struct timespec[2], int) _Hide;
|
||||
int sys_clock_getres(int, struct timespec *) _Hide;
|
||||
int __sys_clock_nanosleep(int, int, const struct timespec *, struct timespec *);
|
||||
int __sys_utimensat(int, const char *, const struct timespec[2], int);
|
||||
int __utimens(int, const char *, const struct timespec[2], int);
|
||||
int sys_clock_getres(int, struct timespec *);
|
||||
int sys_clock_settime(int, const struct timespec *);
|
||||
int sys_clock_gettime(int, struct timespec *) _Hide;
|
||||
int sys_clock_gettime_nt(int, struct timespec *) _Hide;
|
||||
int sys_clock_gettime_m1(int, struct timespec *) _Hide;
|
||||
int sys_clock_gettime_xnu(int, struct timespec *) _Hide;
|
||||
int sys_clock_nanosleep_nt(int, int, const struct timespec *, struct timespec *) _Hide;
|
||||
int sys_clock_nanosleep_openbsd(int, int, const struct timespec *, struct timespec *) _Hide;
|
||||
int sys_clock_nanosleep_xnu(int, int, const struct timespec *, struct timespec *) _Hide;
|
||||
int sys_futimens(int, const struct timespec[2]) _Hide;
|
||||
int sys_nanosleep(const struct timespec *, struct timespec *) _Hide;
|
||||
int sys_nanosleep_nt(const struct timespec *, struct timespec *) _Hide;
|
||||
int sys_nanosleep_xnu(const struct timespec *, struct timespec *) _Hide;
|
||||
int sys_sem_timedwait(int64_t, const struct timespec *) _Hide;
|
||||
int sys_utimensat(int, const char *, const struct timespec[2], int) _Hide;
|
||||
int sys_utimensat_nt(int, const char *, const struct timespec[2], int) _Hide;
|
||||
int sys_utimensat_xnu(int, const char *, const struct timespec[2], int) _Hide;
|
||||
int sys_clock_gettime(int, struct timespec *);
|
||||
int sys_clock_gettime_nt(int, struct timespec *);
|
||||
int sys_clock_gettime_m1(int, struct timespec *);
|
||||
int sys_clock_gettime_xnu(int, struct timespec *);
|
||||
int sys_clock_nanosleep_nt(int, int, const struct timespec *, struct timespec *);
|
||||
int sys_clock_nanosleep_openbsd(int, int, const struct timespec *, struct timespec *);
|
||||
int sys_clock_nanosleep_xnu(int, int, const struct timespec *, struct timespec *);
|
||||
int sys_futimens(int, const struct timespec[2]);
|
||||
int sys_nanosleep(const struct timespec *, struct timespec *);
|
||||
int sys_nanosleep_nt(const struct timespec *, struct timespec *);
|
||||
int sys_nanosleep_xnu(const struct timespec *, struct timespec *);
|
||||
int sys_sem_timedwait(int64_t, const struct timespec *);
|
||||
int sys_utimensat(int, const char *, const struct timespec[2], int);
|
||||
int sys_utimensat_nt(int, const char *, const struct timespec[2], int);
|
||||
int sys_utimensat_xnu(int, const char *, const struct timespec[2], int);
|
||||
|
||||
const char *DescribeTimespec(char[45], int, const struct timespec *);
|
||||
#define DescribeTimespec(rc, ts) DescribeTimespec(alloca(45), rc, ts)
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
axdx_t sys_gettimeofday(struct timeval *, struct timezone *, void *) _Hide;
|
||||
int sys_settimeofday(const struct timeval *, const struct timezone *) _Hide;
|
||||
int sys_futimes(int, const struct timeval *) _Hide;
|
||||
int sys_lutimes(const char *, const struct timeval *) _Hide;
|
||||
int sys_utimes(const char *, const struct timeval *) _Hide;
|
||||
axdx_t sys_gettimeofday_m1(struct timeval *, struct timezone *, void *) _Hide;
|
||||
axdx_t sys_gettimeofday_xnu(struct timeval *, struct timezone *, void *) _Hide;
|
||||
axdx_t sys_gettimeofday_nt(struct timeval *, struct timezone *, void *) _Hide;
|
||||
int sys_utimes_nt(const char *, const struct timeval[2]) _Hide;
|
||||
axdx_t sys_gettimeofday(struct timeval *, struct timezone *, void *);
|
||||
int sys_settimeofday(const struct timeval *, const struct timezone *);
|
||||
int sys_futimes(int, const struct timeval *);
|
||||
int sys_lutimes(const char *, const struct timeval *);
|
||||
int sys_utimes(const char *, const struct timeval *);
|
||||
axdx_t sys_gettimeofday_m1(struct timeval *, struct timezone *, void *);
|
||||
axdx_t sys_gettimeofday_xnu(struct timeval *, struct timezone *, void *);
|
||||
axdx_t sys_gettimeofday_nt(struct timeval *, struct timezone *, void *);
|
||||
int sys_utimes_nt(const char *, const struct timeval[2]);
|
||||
axdx_t sys_gettimeofday_metal(struct timeval *, struct timezone *, void *);
|
||||
|
||||
const char *DescribeTimeval(char[45], int, const struct timeval *);
|
||||
|
|
|
@ -29,8 +29,8 @@ COSMOPOLITAN_C_START_
|
|||
#error "unsupported architecture"
|
||||
#endif
|
||||
|
||||
void _ntcontext2linux(struct ucontext *, const struct NtContext *) _Hide;
|
||||
void _ntlinux2context(struct NtContext *, const ucontext_t *) _Hide;
|
||||
void _ntcontext2linux(struct ucontext *, const struct NtContext *);
|
||||
void _ntlinux2context(struct NtContext *, const ucontext_t *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int tcgetwinsize_nt(struct Fd *, struct winsize *) _Hide;
|
||||
int tcgetwinsize_nt(struct Fd *, struct winsize *);
|
||||
const char *DescribeWinsize(char[64], int, struct winsize *);
|
||||
#define DescribeWinsize(rc, ws) DescribeWinsize(alloca(12), rc, ws)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue