Skip to content

Here’s a simple CLI tool written in C that takes an errno code as a command-line argument and prints its corresponding error description .

License

Notifications You must be signed in to change notification settings

null-gman/Log-errno-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log-errno-c

A simple CLI tool in C that takes an errno code as a command-line argument and prints its corresponding error description .

Make Instructions

  • make : will compile
  • make compile
  • make install : will cp the binary to /home/USER/.local/bin
  • make uninstall : remove /home/USER/.local/bin/errno
  • make clean: rm ./errno

usage

  1. run the program in the terminal with errno code as a command-line argument : ./errno 1 2 3 4 5 .
  2. image
  3. if add a non-number the program will run normaly and get the outhers code errors .
  4. image

About

Here’s a simple CLI tool written in C that takes an errno code as a command-line argument and prints its corresponding error description .

Resources

License

Stars

Watchers

Forks