repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Check for SYS/GL during library init. Reason is that
[AROS.git]
/
workbench
/
network
/
stacks
/
AROSTCP
/
netlib
/
asprintf.c
blob
3ad364f8e86d87ad95d69deb6b1f194164573d58
1
#include <clib/netlib_protos.h>
2
#include <stdio.h>
3
4
int
asprintf
(
char
**
ret
,
const char
*
format
, ...)
5
{
6
va_list
ap
;
7
int
r
;
8
9
va_start
(
ap
,
format
);
10
r
=
vasprintf
(
ret
,
format
,
ap
);
11
va_end
(
ap
);
12
return
r
;
13
}