nuttx/include/sys
YAMAMOTO Takashi e99e185712 Don't typedef wchar_t for C++
wchar_t is a builtin type in C++.

clang complains like the following even with -fshort-wchar:

    error: cannot combine with previous 'type-name' declaration specifier

my clang version if it matters:

    spacetanuki% clang++ --version
    Apple clang version 11.0.0 (clang-1100.0.33.17)
    Target: x86_64-apple-darwin18.7.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
    spacetanuki% clang++ -dM -E - < /dev/null | grep WCHAR
    #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __SIZEOF_WCHAR_T__ 4
    #define __WCHAR_MAX__ 2147483647
    #define __WCHAR_TYPE__ int
    #define __WCHAR_WIDTH__ 32
    spacetanuki% clang++ -fshort-wchar -dM -E - < /dev/null | grep WCHAR
    #define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
    #define __SIZEOF_WCHAR_T__ 2
    #define __WCHAR_MAX__ 65535
    #define __WCHAR_TYPE__ unsigned short
    #define __WCHAR_UNSIGNED__ 1
    #define __WCHAR_WIDTH__ 16
    spacetanuki%
2020-11-01 18:19:13 -08:00
..
boardctl.h Fix typos 2020-05-14 10:49:44 -06:00
custom_file.h Standardize some header files 2015-02-16 14:29:43 -06:00
epoll.h sys/epoll: include-able from C++ files 2020-09-18 19:51:55 -07:00
eventfd.h fs/vfs: Add file descriptor based events support 2020-07-31 15:09:35 -06:00
file.h inclue/sys/file.h: Dummy header for POSIX compliance 2020-02-19 11:48:49 -06:00
ioctl.h fs: Remove all LIBC_IOCTL_VARIADIC related stuff 2020-05-05 08:27:58 -06:00
ipc.h Standardize some header files 2015-02-16 14:29:43 -06:00
mman.h fs/munmap: export the symbols to avoid build break on C++ syntax 2020-09-18 20:05:10 -07:00
mount.h fs: Add nx_mount/nx_umount2 function 2020-05-08 07:20:49 -06:00
param.h include/sys/param.h: Add a dummy sys/param.h header file. This is not a standard file but is used by other systems and having the dummy file may minimize some porting efforts. 2018-08-19 08:24:30 -06:00
prctl.h syscall/prctl: fix PR_SET_NAME failure if without <pid> arg 2020-07-01 21:52:18 -05:00
random.h Standardization of some function headers. 2018-03-13 09:52:27 -06:00
resource.h Fix typographical error in endian.h and resource.h 2018-11-09 09:05:48 -06:00
select.h include/sys/select.h: Fix compiler error when CONFIG_NSOCKET_DESCRIPTORS is undefined. 2019-03-26 09:20:23 -06:00
sendfile.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
shm.h Standardize some header files 2015-02-16 14:29:43 -06:00
socket.h net/socket: add SOCK_CLOEXEC/SOCK_NONBLOCK support 2020-08-17 23:38:18 -05:00
sockio.h include/sys/sockio.h, net/netdev/netdev_ioctl.c: Fix a compile error introducted with commit 34db6d1433. That commit added the semi-standard ip_msfilter structure to netinet/in.h. Howver, there was a non-standard version of that structure in sys/sockio.h. This commit removes the non-standard version of struct ip_msfilter and adapts the IOCTL and device lookup logic in net/netdev to work with the new, semi-standard version in netinet/in.h. 2018-10-29 06:50:47 -06:00
stat.h Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
statfs.h Addes the ARM mbed littlefs to NuttX 2019-01-09 14:26:51 -06:00
statvfs.h fs/vfs: Implement statvfs and fstatvfs 2020-07-13 20:25:03 +01:00
syscall_lookup.h drivers/pipes: nx_pipe syscall takes three params, also use nx_close on error path 2020-10-28 09:11:05 -07:00
syscall.h Add g_funcnames declaration in syscall.h 2020-07-22 12:01:40 -05:00
time.h libs/libc/time: add stub for futimes/ns(2) 2020-09-19 03:20:09 -07:00
types.h Don't typedef wchar_t for C++ 2020-11-01 18:19:13 -08:00
uio.h Trivial updates from review of vecto I/O logic. 2018-06-23 09:01:42 -06:00
un.h include/sys/un.h: Remove an incorrect comment and fix some types. Bad comment reported by Junmin Kim <trimind0210@gmail.com> via email. 2020-01-18 15:23:42 -03:00
utsname.h libs/unistd and other affected files: Hostname support no longer depends on CONFIG_NET since the host name is also useful in the non-network environment. CONFIG_NET_HOSTNAME changed to CONFIG_LIB_HOSTNAME. 2019-01-27 06:56:16 -06:00
vfs.h Standardize some header files 2015-02-16 14:29:43 -06:00
wait.h sched/: Update signal default STOP action. If waitpid was called with the WUNTRACED then wake up waitpid. Also fix some compile problems.. How did this work before? 2018-09-02 13:51:52 -06:00