nuttx-apps/examples/usrsocktest
chao an a8d2924c55 examples/usrsocktest: correct return value check of dup2()
DUP(2) Linux Programmer's Manual

NAME
       dup, dup2, dup3 - duplicate a file descriptor
...
RETURN VALUE
       On success, these system calls return the new file descriptor.
       On error, -1 is returned, and errno is set appropriately.

Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-01 14:58:09 +08:00
..
defines.h apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
Kconfig Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard. 2019-10-06 06:14:56 -06:00
Make.defs style: unify path to files in comment section 2022-03-09 10:37:33 +08:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
usrsocktest_basic_connect.c apps: testing: ostest: nxstyle fixes 2022-03-08 01:44:49 +08:00
usrsocktest_basic_daemon.c examples/usrsocktest: correct return value check of dup2() 2022-09-01 14:58:09 +08:00
usrsocktest_basic_getsockname.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_basic_getsockopt.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_basic_send.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_basic_setsockopt.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_block_recv.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_block_send.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_chardev.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_daemon.c usrsock: Move event field to usrsock_message_common_s 2022-04-03 11:39:19 +09:00
usrsocktest_main.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_multi_thread.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_noblock_connect.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_noblock_recv.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_noblock_send.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_nodaemon.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00
usrsocktest_poll.c apps: testing: ostest: nxstyle fixes 2022-03-08 01:44:49 +08:00
usrsocktest_remote_disconnect.c apps: testing: ostest: nxstyle fixes 2022-03-08 01:44:49 +08:00
usrsocktest_wake_with_signal.c apps: examples: usrsocktest: update licenses to Apache 2022-03-08 01:44:49 +08:00