nuttx/arch/sim/src/nuttx-names.in

93 lines
2.5 KiB
Plaintext
Raw Normal View History

/****************************************************************************
* 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 <nuttx/config.h>
#define CONCAT_(x, y) x##y
#define CONCAT(x, y) CONCAT_(x, y)
#if defined(CONFIG_HOST_MACOS) || \
(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(bind)
NXSYMBOLS(clock_gettime)
NXSYMBOLS(close)
NXSYMBOLS(closedir)
NXSYMBOLS(connect)
NXSYMBOLS(dup)
NXSYMBOLS(exit)
NXSYMBOLS(free)
NXSYMBOLS(fstat)
NXSYMBOLS(fsync)
NXSYMBOLS(ftruncate)
NXSYMBOLS(if_nametoindex)
NXSYMBOLS(ioctl)
NXSYMBOLS(lseek)
NXSYMBOLS(malloc)
NXSYMBOLS(mkdir)
NXSYMBOLS(mmap)
NXSYMBOLS(munmap)
NXSYMBOLS(open)
NXSYMBOLS(opendir)
NXSYMBOLS(perror)
NXSYMBOLS(poll)
NXSYMBOLS(pthread_create)
NXSYMBOLS(pthread_cond_destroy)
NXSYMBOLS(pthread_cond_init)
NXSYMBOLS(pthread_cond_signal)
NXSYMBOLS(pthread_cond_wait)
NXSYMBOLS(pthread_getspecific)
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_setspecific)
NXSYMBOLS(pthread_sigmask)
NXSYMBOLS(read)
NXSYMBOLS(readdir)
NXSYMBOLS(rename)
NXSYMBOLS(rewinddir)
NXSYMBOLS(rmdir)
NXSYMBOLS(sched_yield)
NXSYMBOLS(select)
NXSYMBOLS(shutdown)
NXSYMBOLS(sigaction)
NXSYMBOLS(sigaddset)
NXSYMBOLS(sigemptyset)
NXSYMBOLS(sigfillset)
NXSYMBOLS(sleep)
NXSYMBOLS(socket)
NXSYMBOLS(stat)
NXSYMBOLS(statvfs)
NXSYMBOLS(strerror)
NXSYMBOLS(syslog)
NXSYMBOLS(tcgetattr)
NXSYMBOLS(tcsetattr)
NXSYMBOLS(unlink)
NXSYMBOLS(usleep)
NXSYMBOLS(write)