Skip to content

atti-10/sysf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

sysf

A minimalist system information fetcher for UNIX and Linux-based systems, written in C.

This project is created for deep-dive learning of low-level POSIX system calls.

Features

  • No bloated libraries: Directly invokes <sys/utsname.h> for pure performance.
  • Buffer-safe: Formats strings using snprintf to prevent any potential memory corruption.
  • Type-safe: Properly manages return types and stream operations with fwrite.

Build and Run

To compile and execute:

gcc sysf.c -o sysf
./sysf

Output Example

OS Name:    Darwin
Version:    25.6.0
CPU Arch:   arm64

License

This project is dedicated to the public domain under the Unlicense. Feel free to use, modify, or break it.

About

A minimalist system information fetcher written in C using system calls.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages