Merge branch 'stdio.h-regex.h-add-macros' into 'master'
stdio.h: add std{in,out,err} macros; regex.h: add REG_MINIMAL macro
See merge request redox-os/relibc!911
This commit is contained in:
@@ -9,5 +9,9 @@ typedef struct FILE FILE;
|
||||
// A typedef doesn't suffice, because libgmp uses this definition to check if
|
||||
// STDIO was loaded.
|
||||
#define FILE FILE
|
||||
// Likewise, stdin, stdout, and stderr are expected to be macros.
|
||||
#define stdin stdin
|
||||
#define stdout stdout
|
||||
#define stderr stderr
|
||||
|
||||
#endif /* _BITS_STDIO_H */
|
||||
|
||||
@@ -35,6 +35,7 @@ pub const REG_NOSUB: c_int = 4;
|
||||
pub const REG_NEWLINE: c_int = 8;
|
||||
pub const REG_NOTBOL: c_int = 16;
|
||||
pub const REG_NOTEOL: c_int = 32;
|
||||
pub const REG_MINIMAL: c_int = 64;
|
||||
|
||||
pub const REG_NOMATCH: c_int = 1;
|
||||
pub const REG_BADPAT: c_int = 2;
|
||||
|
||||
Reference in New Issue
Block a user