mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Run fix-third-party.py and man2txt on sed
This commit is contained in:
parent
f0bf9f3389
commit
2227cefa5d
14 changed files with 735 additions and 214 deletions
|
@ -1,4 +1,5 @@
|
|||
#ifndef LIBC_ISYSTEM_LIMITS_H_
|
||||
#define LIBC_ISYSTEM_LIMITS_H_
|
||||
#include "libc/limits.h"
|
||||
#include "libc/sysv/consts/_posix.h"
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef LIBC_ISYSTEM_WCHAR_H_
|
||||
#define LIBC_ISYSTEM_WCHAR_H_
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/str/unicode.h"
|
||||
#include "libc/time/time.h"
|
||||
#endif
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#define S_IREAD 0000400 /* just use octal */
|
||||
#define S_IEXEC 0000100 /* just use octal */
|
||||
#define S_IWRITE 0000200 /* just use octal */
|
||||
#define S_ISTXT 0001000 /* just use octal */
|
||||
|
||||
#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR)
|
||||
#define S_ISCHR(mode) (((mode)&S_IFMT) == S_IFCHR)
|
||||
|
@ -37,4 +38,8 @@
|
|||
#define S_ISLNK(mode) (((mode)&S_IFMT) == S_IFLNK)
|
||||
#define S_ISSOCK(mode) (((mode)&S_IFMT) == S_IFSOCK)
|
||||
|
||||
#define S_BLKSIZE 512
|
||||
#define ALLPERMS (S_ISUID | S_ISGID | S_ISTXT | S_IRWXU | S_IRWXG | S_IRWXO)
|
||||
#define DEFFILEMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_S_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue