mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
Tiny LibC things.
This commit is contained in:
parent
9e62eb4856
commit
8039a20611
Notes:
sideshowbarker
2024-07-19 18:33:33 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8039a20611b
0
LibC/limits.h
Normal file
0
LibC/limits.h
Normal file
0
LibC/setjmp.h
Normal file
0
LibC/setjmp.h
Normal file
@ -132,7 +132,7 @@ char* strncat(char *dest, const char *src, size_t n)
|
||||
return dest;
|
||||
}
|
||||
|
||||
const char* strerror(int errnum)
|
||||
char* strerror(int errnum)
|
||||
{
|
||||
switch (errnum) {
|
||||
case 0: return "No error";
|
||||
|
@ -18,7 +18,7 @@ char* strcat(char *dest, const char *src);
|
||||
char* strncat(char *dest, const char *src, size_t);
|
||||
size_t strspn(const char*, const char* accept);
|
||||
size_t strcspn(const char*, const char* reject);
|
||||
const char* strerror(int errnum);
|
||||
char* strerror(int errnum);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
@ -10,3 +10,6 @@
|
||||
#define __BEGIN_DECLS
|
||||
#define __END_DECLS
|
||||
#endif
|
||||
|
||||
#undef __P
|
||||
#define __P(a) a
|
||||
|
0
LibC/sys/file.h
Normal file
0
LibC/sys/file.h
Normal file
0
LibC/sys/param.h
Normal file
0
LibC/sys/param.h
Normal file
0
LibC/sys/time.h
Normal file
0
LibC/sys/time.h
Normal file
0
LibC/sys/wait.h
Normal file
0
LibC/sys/wait.h
Normal file
0
LibC/termios.h
Normal file
0
LibC/termios.h
Normal file
@ -45,6 +45,7 @@ off_t lseek(int fd, off_t, int whence);
|
||||
#define SIGKILL 9
|
||||
#define SIGSEGV 11
|
||||
#define SIGTERM 15
|
||||
#define SIGCHLD 17
|
||||
|
||||
#define HOST_NAME_MAX 64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user