Skip to main content
Visitor II
November 27, 2023
Question

_exit() implementation in syscalls.c wrong?

  • November 27, 2023
  • 1 reply
  • 1228 views

Looking at the file "syscalls.c" I found the following line:

The implementation of "_exit()" calls "_kill(status, -1)".

Shouldn't it be "_kill(-1, status)" instead?

Note: Because "_kill()" is implemented as dummy by default, this line has no effect unless the "_kill()" function is replaced by a real implementation.

    This topic has been closed for replies.

    1 reply

    ST Employee
    November 28, 2023

    Hi @MdjRosenau 

     

    The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.

     

    Regards,

    Billy