© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
N. TolaramSoftware Development with Gohttps://doi.org/10.1007/978-1-4842-8731-6_2

2. System Calls Using Go

Nanik Tolaram1  
(1)
Sydney, NSW, Australia
 

In this chapter, you will explore writing applications that perform system-level operations using system calls. The operating system provides a lot of ways for applications to extract information and perform operations. You will look at the different ways to extract system-level information and use both the Go standard library and system files.

In this chapter, you will learn the following:
  • How to use syscall packages

  • How to understand and read ELF format files

  • How to use the /sys filesystem

  • How to write a simple ...

Get Software Development with Go: Cloud-Native Programming using Golang with Linux and Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.