getopt - Posix compliant option & argument parsing in C

Опубликовано: 16 Октябрь 2024
на канале: Johannes 4GNU_Linux
1,583
96

#tutorial #programming #posix #linux

In this video I will show you how to use getopt in a C program. getopt parses the command line input you have given your program for options and arguments. The cool thing is that getopt is Posix compliant, so you can use it not only in Linux but also in other Posix compliant operating systems like FreeBsd, MAC OS, ...

You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes...

If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks