Develop and deploy your next
app on the IBM Bluemix
|Errors: errno in UNIX programs
Learn more than you ever wanted to know about the UNIX standard error reporting mechanism, the errno global variable. You'll also learn about a couple of associated global variables (sys_nerr and sys_errlist) and the standard functions that help you report errors to the user.
|Articles||05 Sep 2006|
|Command-line processing with getopt()
All UNIX(R) programs, even those with graphical user interfaces (GUIs), accept and process command-line options. For some programs, this is the primary means of interacting with either other programs, or users. Having robust handling of complex command-line arguments makes your application better and more useful. And yet, many developers are spending their precious time writing their own command-line parsers instead of using getopt(), a library function designed specifically to ease the burden of command-line processing. Read on to learn how to use getopt() to record your command-line arguments in a global structure that can then be used throughout your program whenever appropriate.
|Articles||02 May 2006|
|Text processing with UNIX
The origin of UNIX(R) lies in simple text processing, and its command-line environment remains one of the most powerful text processing tools available. By combining a series of simple commands to make up a complex text transformation, the tools available from UNIX let you build nearly any text processing engine you could need.
|Articles||01 Aug 2006|