mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
phobos 0.176
This commit is contained in:
parent
00fe9a970d
commit
76dac5da92
18 changed files with 1233 additions and 40 deletions
|
@ -173,6 +173,10 @@ extern (C)
|
|||
tm* gmtime(__time_t*);
|
||||
tm* localtime(__time_t*);
|
||||
__time_t mktime(tm*);
|
||||
char* asctime_r(tm* t, char* buf);
|
||||
char* ctime_r(__time_t* timep, char* buf);
|
||||
tm* gmtime_r(__time_t* timep, tm* result);
|
||||
tm* localtime_r(__time_t* timep, tm* result);
|
||||
}
|
||||
|
||||
/**************************************************************/
|
||||
|
|
|
@ -35,6 +35,8 @@ int setsockopt(int s, int level, int optname, void* optval, int optlen);
|
|||
uint inet_addr(char* cp);
|
||||
char* inet_ntoa(in_addr ina);
|
||||
hostent* gethostbyname(char* name);
|
||||
int gethostbyname_r(char* name, hostent* ret, void* buf, size_t buflen, hostent** result, int* h_errnop);
|
||||
int gethostbyname2_r(char* name, int af, hostent* ret, void* buf, size_t buflen, hostent** result, int* h_errnop);
|
||||
hostent* gethostbyaddr(void* addr, int len, int type);
|
||||
protoent* getprotobyname(char* name);
|
||||
protoent* getprotobynumber(int number);
|
||||
|
@ -46,6 +48,7 @@ void freeaddrinfo(addrinfo* ai);
|
|||
int getnameinfo(sockaddr* sa, socklen_t salen, char* node, socklen_t nodelen, char* service, socklen_t servicelen, int flags);
|
||||
|
||||
|
||||
|
||||
enum: int
|
||||
{
|
||||
AF_UNSPEC = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue