2 Copyright © 2000-2013, The AROS Development Team. All rights reserved.
9 #include "bsdsocket_intern.h"
10 #include "netdb_util.h"
12 /*****************************************************************************
16 AROS_LH1(char *, Inet_NtoA
,
19 AROS_LHA(unsigned long, in
, D0
),
22 struct TaskBase
*, taskBase
, 29, BSDSocket
)
42 *****************************************************************************/
46 struct bsdsocketBase
*SocketBase
= taskBase
->glob
;
50 D(bug("[bsdsocket] Inet_NToA(0x%08lX)\n", in
));
57 res
= CopyString(res
, taskBase
->pool
);
63 FreeVecPooled(taskBase
->inaddr
, taskBase
->pool
);
64 taskBase
->inaddr
= res
;
69 D(bug("[inet_ntoa] Result: %s\n", res
));