Jesse,
For getpeername case, we have made an implementation several months ago in our private git.
If you want, we could upstream the implementation as a demo how to add new syscall for NuttX.
Thanks
Xiang
iperf3_main.c:(.text+0x14): undefined reference to `setjmp'iperf3_main.c:(.text+0x148): undefined reference to `longjmp'
As far as I know, NuttX doesn't support daemon yet,but you can simulate daemon easily by spawn a background task manually.You can reference many NuttX's daemon soure code, e.g.:apps/system/stackmonitor/stackmonitor.c
The daemon() function is for programs wishing to detach themselves
from the controlling terminal and run in the background as system
daemons.
NuttX does not support controlling terminals, nor does any other embedded RTOS that I am aware of.
If nochdir is zero, daemon() changes the process's current working
directory to the root directory ("/"); otherwise, the current working
directory is left unchanged.
If noclose is zero, daemon() redirects standard input, standard
output and standard error to /dev/null; otherwise, no changes are
made to these file descriptors.
These two features could be supported, but are not so interesting.(This function forks, and if the fork(2) succeeds, the parent calls _exit(2), so that further errors are seen by the child only.) ...fork() requires to an MMU. There is way to fork in a truly embedded system that has no MMU. uClinux can't fork either (http://nommu.org/). Both uClinux and NuttX support vfork(), but vfork() cannot be used as a direct substitute for fork() in this case.
--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.