mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
1837dc2e85
- Introduce path module to redbean - Fix glitch with linenoise printing extra line on eof - Introduce closefrom() and close_range() system calls - Make file descriptor closing more secure in pledge.com
18 lines
462 B
C
18 lines
462 B
C
#ifndef COSMOPOLITAN_THIRD_PARTY_LUA_LUNIX_H_
|
|
#define COSMOPOLITAN_THIRD_PARTY_LUA_LUNIX_H_
|
|
#include "third_party/lua/lauxlib.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
struct UnixErrno {
|
|
int errno_;
|
|
int winerr;
|
|
const char *call;
|
|
};
|
|
|
|
int LuaUnix(lua_State *);
|
|
int LuaUnixSysretErrno(lua_State *, const char *, int);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_THIRD_PARTY_LUA_LUNIX_H_ */
|