mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add ctermid and L_ctermid
This commit is contained in:
parent
84caee23ba
commit
5a2bb07b36
2 changed files with 49 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
#include "libc/nexgen32e/threaded.h"
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define L_ctermid 20
|
||||
#define FILENAME_MAX PATH_MAX
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
@ -81,6 +82,7 @@ void setbuffer(FILE *, char *, size_t);
|
|||
int setvbuf(FILE *, char *, int, size_t);
|
||||
FILE *popen(const char *, const char *);
|
||||
int pclose(FILE *);
|
||||
char *ctermid(char *);
|
||||
|
||||
typedef uint64_t fpos_t;
|
||||
compatfn char *gets(char *) paramsnonnull();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue