Make more compatibility improvements

This commit is contained in:
Justine Tunney 2022-09-06 11:22:08 -07:00
parent 11ec60d5fc
commit dbf12c30b0
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
32 changed files with 158 additions and 16 deletions

11
libc/str/errfun.h Normal file
View file

@ -0,0 +1,11 @@
#ifndef COSMOPOLITAN_LIBC_STR_ERRFUN_H_
#define COSMOPOLITAN_LIBC_STR_ERRFUN_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
char *strerrno(int) nosideeffect libcesque;
char *strerdoc(int) nosideeffect libcesque;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_STR_ERRFUN_H_ */