mirror of https://github.com/deadw00d/AROS.git
Publish asprintf and vasprintf
This commit is contained in:
parent
370f79daf2
commit
596906f125
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <aros/debug.h>
|
||||
|
||||
|
|
|
@ -11,10 +11,13 @@
|
|||
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <pwd.h>
|
||||
|
||||
/* don't include stdio.h as it will make it include in each .c file before defines can take action */
|
||||
struct __sFILE;
|
||||
typedef struct __sFILE FILE;
|
||||
|
||||
struct PosixCBase
|
||||
{
|
||||
FILE *_stdin, *_stdout, *_stderr;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
##begin config
|
||||
version 3.2
|
||||
version 3.3
|
||||
basename Crt
|
||||
libbasetypeextern struct Library
|
||||
libbasetype struct CrtIntBase
|
||||
|
@ -1285,4 +1285,7 @@ int scandir (const char *dir, struct dirent ***namelist, int (*select)(const str
|
|||
int fstat(int fd, struct stat *sb)
|
||||
int lstat(const char * restrict path, struct stat * restrict sb)
|
||||
int stat(const char * restrict path, struct stat * restrict sb)
|
||||
.version 3
|
||||
int asprintf(char **restrict str, const char *restrict format, ...)
|
||||
int vasprintf(char **restrict s, const char * restrict format, va_list arg)
|
||||
##end functionlist
|
||||
|
|
|
@ -714,6 +714,7 @@ CRT := \
|
|||
../stdc/_exit \
|
||||
../stdc/abort \
|
||||
../stdc/asctime \
|
||||
../stdc/asprintf \
|
||||
../stdc/atexit \
|
||||
../stdc/calloc \
|
||||
../stdc/clock \
|
||||
|
@ -738,7 +739,8 @@ CRT := \
|
|||
../stdc/strtoul \
|
||||
../stdc/strtoull \
|
||||
../stdc/strtoll \
|
||||
../stdc/strtoumax
|
||||
../stdc/strtoumax \
|
||||
../stdc/vasprintf
|
||||
|
||||
CRT_LINKLIB := \
|
||||
../posixc/getopt \
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <libraries/stdcio.h>
|
||||
|
||||
#include <aros/debug.h>
|
||||
#if DEBUG
|
||||
#include <aros/libcall.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
GNU function vasprintf().
|
||||
*/
|
||||
#include <libraries/stdcio.h>
|
||||
|
||||
#include <aros/debug.h>
|
||||
#if DEBUG
|
||||
|
|
Loading…
Reference in New Issue