The only real references I have seen is in the following gnulib manual : https://www.gnu.org/software/gnulib/manual/gnulib.pdf
And the subsequence link: https://www.gnu.org/software/libc/manual/html_node/System-Calls.html Cheers, Jon On Wed, Sep 9, 2020 at 10:31 AM Robert Nelson <robertcnel...@gmail.com> wrote: > On Wed, Sep 9, 2020 at 12:28 PM jonnymo <jonnym...@gmail.com> wrote: > > > > Yeah, I missed where this was shown in the email. > > > > As far as the link for Drerk's web page is concerned, I suspect it is a > reference to the first ed of his book. > > > > From what I gathered, syscall is not POSIX compliant and could cause > compatibility issues so it's use is discouraged. This I would suspect is > why there are suggestions from the error when running the example to use > 'swscanf' and 'getpt' instead. > > > > However, as you found, 'syscall' is defined in 'unistd.h' so having this > included is required which does not seem that new. Then again, the code on > Derek's site is at least 6 years old and may not be kept up to date which > could explain the use of syscall there. > > I've found a few references to 4.7.x gcc and C89/C99 that this > changed, but haven't found the git commit/explanation.. > > Regards, > > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CAOCHtYjC3jsb-F%2BJoCWkNT0aKRxtKFxO75AuJD%2BcT8KSvyn4cQ%40mail.gmail.com > . > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bkozqU3u0qb9SGNv3n0Lh%3Dug2FJ_d_PwXFiHL8-vTj3FZQ%40mail.gmail.com.