Compare commits
3 Commits
5b94217316
...
71df91b4a0
Author | SHA1 | Date | |
---|---|---|---|
71df91b4a0 | |||
7dc4b17d46 | |||
332976dde9 |
@ -98,8 +98,13 @@ extern "C"
|
|||||||
* endptr if nonnull. */
|
* endptr if nonnull. */
|
||||||
unsigned long strtoul(const char* str, char** endptr, int base);
|
unsigned long strtoul(const char* str, char** endptr, int base);
|
||||||
|
|
||||||
#define strtoll strtol
|
/* Parse an integer of the specified base from a string, storing the first non-number character in endptr if
|
||||||
#define strtoull strtoul
|
* nonnull. */
|
||||||
|
long long strtoll(const char* str, char** endptr, int base);
|
||||||
|
|
||||||
|
/* Parse an unsigned integer of the specified base from a string, storing the first non-number character in
|
||||||
|
* endptr if nonnull. */
|
||||||
|
unsigned long long strtoull(const char* str, char** endptr, int base);
|
||||||
|
|
||||||
/* Return the next pseudorandom number. */
|
/* Return the next pseudorandom number. */
|
||||||
int rand();
|
int rand();
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#define _POSIX_SYNCHRONIZED_IO 200112L
|
#define _POSIX_SYNCHRONIZED_IO 200112L
|
||||||
#define _POSIX_SAVED_IDS 200112L
|
#define _POSIX_SAVED_IDS 200112L
|
||||||
#define _POSIX_VDISABLE (-2)
|
#define _POSIX_VDISABLE (-2)
|
||||||
|
#define _POSIX_VERSION 200112L
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
@ -101,6 +101,16 @@ extern "C"
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long long strtoll(const char* str, char** endptr, int base)
|
||||||
|
{
|
||||||
|
return strtol(str, endptr, base);
|
||||||
|
}
|
||||||
|
|
||||||
|
unsigned long long strtoull(const char* str, char** endptr, int base)
|
||||||
|
{
|
||||||
|
return strtoul(str, endptr, base);
|
||||||
|
}
|
||||||
|
|
||||||
__noreturn void abort()
|
__noreturn void abort()
|
||||||
{
|
{
|
||||||
// First, try to unblock SIGABRT and then raise it.
|
// First, try to unblock SIGABRT and then raise it.
|
||||||
|
0
tools/exec/luna-pkg-config
Normal file → Executable file
0
tools/exec/luna-pkg-config
Normal file → Executable file
Loading…
Reference in New Issue
Block a user