Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / arch / all-mingw32 / bsdsocket / inet_addr.c
blob7c67e382fa9cdf4a6df766efaa87a3266f0b34f4
1 /*
2 Copyright © 2000-2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 #include "bsdsocket_intern.h"
11 /*****************************************************************************
13 NAME */
15 AROS_LH1(unsigned long, inet_addr,
17 /* SYNOPSIS */
18 AROS_LHA(const char *, cp, A0),
20 /* LOCATION */
21 struct TaskBase *, taskBase, 30, BSDSocket)
23 /* FUNCTION
25 INPUTS
27 RESULT
29 NOTES
31 EXAMPLE
33 BUGS
35 SEE ALSO
37 INTERNALS
39 HISTORY
41 *****************************************************************************/
43 AROS_LIBFUNC_INIT
45 struct bsdsocketBase *SocketBase = taskBase->glob;
46 unsigned long res;
48 Forbid();
49 res = WSinet_addr(cp);
50 Permit();
52 return res;
54 AROS_LIBFUNC_EXIT
56 } /* inet_addr */