Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
asmjsfixes.cc File Reference
#include <assert.h>
#include <pthread.h>
#include <semaphore.h>
#include <sys/socket.h>
Include dependency graph for asmjsfixes.cc:

Go to the source code of this file.

Functions

int getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res)
 Copyright 2016 Google Inc. More...
 
void freeaddrinfo (struct addrinfo *res)
 
const char * gai_strerror (int errcode)
 
int getsockname (int sockfd, struct sockaddr *addr, socklen_t *addrlen)
 
int pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate)
 
int pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *arg), void *arg)
 
int pthread_cond_signal (pthread_cond_t *cond)
 
int pthread_join (pthread_t thread, void **retval)
 

Function Documentation

void freeaddrinfo ( struct addrinfo *  res)

Definition at line 31 of file asmjsfixes.cc.

const char* gai_strerror ( int  errcode)

Definition at line 33 of file asmjsfixes.cc.

int getaddrinfo ( const char *  node,
const char *  service,
const struct addrinfo *  hints,
struct addrinfo **  res 
)

Copyright 2016 Google Inc.

All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.This file stubs out functions that are undefined by Emscripten to allow Ion to compile.

Definition at line 26 of file asmjsfixes.cc.

int getsockname ( int  sockfd,
struct sockaddr *  addr,
socklen_t *  addrlen 
)

Definition at line 37 of file asmjsfixes.cc.

int pthread_attr_setdetachstate ( pthread_attr_t *  attr,
int  detachstate 
)

Definition at line 41 of file asmjsfixes.cc.

int pthread_cond_signal ( pthread_cond_t *  cond)

Definition at line 51 of file asmjsfixes.cc.

int pthread_create ( pthread_t *  thread,
const pthread_attr_t *  attr,
void *(*)(void *arg)  start_routine,
void *  arg 
)

Definition at line 45 of file asmjsfixes.cc.

int pthread_join ( pthread_t  thread,
void **  retval 
)

Definition at line 55 of file asmjsfixes.cc.

Referenced by ion::port::JoinThread().