我如何使用strace来了解我的C程序中的系统调用

Adi*_*Adi 2 c system-calls strace

我想知道如何使用strace跟踪我的C程序中的系统调用以及如何使用它来调试我的代码.

Thi*_*ter 8

通过strace运行程序:

strace path/to/your/executable
Run Code Online (Sandbox Code Playgroud)

例如 strace ./myapp