/**************************************************************************** * arch/sim/src/nuttx-names.in * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The * ASF licenses this file to you 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. * ****************************************************************************/ #include #define CONCAT_(x, y) x##y #define CONCAT(x, y) CONCAT_(x, y) #if defined(CONFIG_HOST_MACOS) #define NXSYMBOLS(s) _##s #elif defined(CONFIG_HOST_WINDOWS) && defined(CONFIG_SIM_CYGWIN_DECORATED) #define NXSYMBOLS(s) _##s NX##s #else #define NXSYMBOLS(s) s NX##s #endif NXSYMBOLS(__cxa_atexit) NXSYMBOLS(__errno) NXSYMBOLS(_exit) NXSYMBOLS(accept) NXSYMBOLS(asprintf) NXSYMBOLS(basename) NXSYMBOLS(bind) NXSYMBOLS(calloc) NXSYMBOLS(chdir) NXSYMBOLS(clearenv) NXSYMBOLS(clock) NXSYMBOLS(clock_gettime) NXSYMBOLS(clock_settime) NXSYMBOLS(close) NXSYMBOLS(closedir) NXSYMBOLS(connect) NXSYMBOLS(dlclose) NXSYMBOLS(dlerror) NXSYMBOLS(dlopen) NXSYMBOLS(dlsym) NXSYMBOLS(dlsymtab) NXSYMBOLS(dup) NXSYMBOLS(dup2) NXSYMBOLS(exit) NXSYMBOLS(fclose) NXSYMBOLS(fcntl) NXSYMBOLS(fdopen) NXSYMBOLS(fgetc) NXSYMBOLS(fopen) NXSYMBOLS(fpathconf) NXSYMBOLS(fprintf) NXSYMBOLS(fputc) NXSYMBOLS(fputs) NXSYMBOLS(fread) NXSYMBOLS(free) NXSYMBOLS(fseek) NXSYMBOLS(fstat) NXSYMBOLS(fsync) NXSYMBOLS(ftell) NXSYMBOLS(ftruncate) NXSYMBOLS(ftw) NXSYMBOLS(fwrite) NXSYMBOLS(getchar) NXSYMBOLS(getenv) NXSYMBOLS(getopt) NXSYMBOLS(getpid) NXSYMBOLS(gettimeofday) NXSYMBOLS(htons) NXSYMBOLS(if_indextoname) NXSYMBOLS(if_nametoindex) NXSYMBOLS(ioctl) NXSYMBOLS(isatty) NXSYMBOLS(kill) NXSYMBOLS(link) NXSYMBOLS(listen) NXSYMBOLS(lseek) NXSYMBOLS(mallinfo) NXSYMBOLS(malloc) NXSYMBOLS(malloc_init) NXSYMBOLS(memcmp) NXSYMBOLS(memcpy) NXSYMBOLS(memset) NXSYMBOLS(mkdir) NXSYMBOLS(mkfifo) NXSYMBOLS(mktime) NXSYMBOLS(mmap) NXSYMBOLS(mount) NXSYMBOLS(mq_close) NXSYMBOLS(munmap) NXSYMBOLS(nanosleep) NXSYMBOLS(nftw) NXSYMBOLS(ntohs) NXSYMBOLS(open) NXSYMBOLS(opendir) NXSYMBOLS(optarg) NXSYMBOLS(optind) NXSYMBOLS(optopt) NXSYMBOLS(pathconf) NXSYMBOLS(perror) NXSYMBOLS(pipe) NXSYMBOLS(poll) NXSYMBOLS(printf) NXSYMBOLS(pthread_create) NXSYMBOLS(pthread_detach) NXSYMBOLS(pthread_exit) NXSYMBOLS(pthread_getspecific) NXSYMBOLS(pthread_join) NXSYMBOLS(pthread_key_create) NXSYMBOLS(pthread_kill) NXSYMBOLS(pthread_mutex_destroy) NXSYMBOLS(pthread_mutex_init) NXSYMBOLS(pthread_mutex_lock) NXSYMBOLS(pthread_mutex_unlock) NXSYMBOLS(pthread_setcancelstate) NXSYMBOLS(pthread_setcanceltype) NXSYMBOLS(pthread_setspecific) NXSYMBOLS(pthread_sigmask) NXSYMBOLS(pthread_testcancel) NXSYMBOLS(pthread_yield) NXSYMBOLS(ptsname) NXSYMBOLS(ptsname_r) NXSYMBOLS(putenv) NXSYMBOLS(puts) NXSYMBOLS(read) NXSYMBOLS(readdir) NXSYMBOLS(readlink) NXSYMBOLS(realloc) NXSYMBOLS(recv) NXSYMBOLS(recvfrom) NXSYMBOLS(rename) NXSYMBOLS(rewind) NXSYMBOLS(rewinddir) NXSYMBOLS(rmdir) NXSYMBOLS(sched_setparam) NXSYMBOLS(sched_yield) NXSYMBOLS(seekdir) NXSYMBOLS(select) NXSYMBOLS(sem_destroy) NXSYMBOLS(sem_getvalue) NXSYMBOLS(sem_init) NXSYMBOLS(sem_post) NXSYMBOLS(sem_timedwait) NXSYMBOLS(sem_trywait) NXSYMBOLS(sem_wait) NXSYMBOLS(send) NXSYMBOLS(sendto) NXSYMBOLS(setenv) NXSYMBOLS(setlogmask) NXSYMBOLS(setsockopt) NXSYMBOLS(setvbuf) NXSYMBOLS(shutdown) NXSYMBOLS(sigaction) NXSYMBOLS(sigaddset) NXSYMBOLS(sigdelset) NXSYMBOLS(sigemptyset) NXSYMBOLS(sigfillset) NXSYMBOLS(sighold) NXSYMBOLS(sigismember) NXSYMBOLS(sigprocmask) NXSYMBOLS(sigrelse) NXSYMBOLS(sigtimedwait) NXSYMBOLS(sleep) NXSYMBOLS(snprintf) NXSYMBOLS(socket) NXSYMBOLS(sprintf) NXSYMBOLS(stat) NXSYMBOLS(statfs) NXSYMBOLS(statvfs) NXSYMBOLS(strcat) NXSYMBOLS(strchr) NXSYMBOLS(strcmp) NXSYMBOLS(strcpy) NXSYMBOLS(strcspn) NXSYMBOLS(strdup) NXSYMBOLS(strerror) NXSYMBOLS(strerror_r) NXSYMBOLS(strftime) NXSYMBOLS(strlen) NXSYMBOLS(strncasecmp) NXSYMBOLS(strncmp) NXSYMBOLS(strncpy) NXSYMBOLS(strnlen) NXSYMBOLS(strrchr) NXSYMBOLS(strstr) NXSYMBOLS(strtok_r) NXSYMBOLS(strtol) NXSYMBOLS(strtoul) NXSYMBOLS(syslog) NXSYMBOLS(system) NXSYMBOLS(tcgetattr) NXSYMBOLS(tcsetattr) NXSYMBOLS(truncate) NXSYMBOLS(umount2) NXSYMBOLS(uname) NXSYMBOLS(unlink) NXSYMBOLS(unlockpt) NXSYMBOLS(unsetenv) NXSYMBOLS(usleep) NXSYMBOLS(vasprintf) NXSYMBOLS(vfork) NXSYMBOLS(vfprintf) NXSYMBOLS(vsnprintf) NXSYMBOLS(vsyslog) NXSYMBOLS(waitpid) NXSYMBOLS(write) NXSYMBOLS(zmalloc)