Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
naclfixes.cc
Go to the documentation of this file.
1 
18 
21 #include <sys/socket.h>
22 
23 int getaddrinfo(const char *node, const char *service,
24  const struct addrinfo *hints, struct addrinfo **res) {
25  return 0;
26 }
27 
28 void freeaddrinfo(struct addrinfo *res) {}
29 
30 char *gai_strerror(int errcode) {
31  return NULL;
32 }
33 
34 int getsockname(int sockfd, struct sockaddr *addr, socklen_t *addrlen) {
35  return 0;
36 }
37 
38 void flockfile(FILE *filehandle) {}
39 
40 void funlockfile(FILE *filehandle) {}
char * gai_strerror(int errcode)
Definition: naclfixes.cc:30
void flockfile(FILE *filehandle)
Definition: naclfixes.cc:38
void funlockfile(FILE *filehandle)
Definition: naclfixes.cc:40
int getsockname(int sockfd, struct sockaddr *addr, socklen_t *addrlen)
Definition: naclfixes.cc:34
void freeaddrinfo(struct addrinfo *res)
Definition: naclfixes.cc:28
int getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res)
Copyright 2016 Google Inc.
Definition: naclfixes.cc:23