In this chapter, we are going to abandon the Linux kernel services and use the glibc, the GNU C run-time library, instead of calling the Linux kernel services directly. The glibc functions are, in many cases, thin wrappers around the Linux kernel services and the preferred way to access Linux kernel services. Before we begin examining code, though, we need to briefly mention the stack and the C Calling Convention.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Prefer glibc over BIOS Calls, uname Reprise

  • John Schwartzman

摘要

In this chapter, we are going to abandon the Linux kernel services and use the glibc, the GNU C run-time library, instead of calling the Linux kernel services directly. The glibc functions are, in many cases, thin wrappers around the Linux kernel services and the preferred way to access Linux kernel services. Before we begin examining code, though, we need to briefly mention the stack and the C Calling Convention.