Technical library

  • spacer Filter by products, topics, and types of content

    (0 Products)

    (38 Topics)

    (1 Industries)

    (4 Types)

 

1 - 3 of 3 results Show Summaries | Hide Summaries Subscribe to search results (RSS)

View Results
Title none Type none Date none
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.
Also available in: Chinese   Russian  
Articles 02 May 2006
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.
Also available in: Chinese   Japanese  
Articles 05 Sep 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.
Also available in: Chinese   Russian  
Articles 01 Aug 2006

1 - 3 of 3 results Show Summaries | Hide Summaries Subscribe to search results (RSS)