It is currently Mon, 25 Sep 2023 11:23:49 GMT



 
Author Message
 Command-line args in C

Does anyone have a short example of the use of comand line arguments in C?

Thanks,
        Boris
--

=============================================================================
| Boris Kraft                                   | MAIL: kr...@dcs.ed.ac.uk
| Dept of Computer Science                      |
| University of Edinburgh, Edinburgh EH9 3JZ    |
| UK                                            |
=============================================================================



 Mon, 17 Mar 1997 18:26:28 GMT   
 Command-line args in C

Maybe you could be more specific about what you want...

If you are looking for tools to parse command line arguments in a
C-program, take a look at the getopt(3) manual page. This might be
what you are looking for.

-ascs



 Tue, 18 Mar 1997 23:02:24 GMT   
 
   [ 2 post ] 

Similar Threads

1. CGI commands with command line args?

2. how to set argv command line args for ps

3. How to find out all the input args of a long command line

4. Script/Command line args for FTP needed!!

5. How to hide command line args under Solaris

6. Command line args

7. command line args and 'if'

8. space in command line args

9. csh script command line args

10. command line args in csh scripts (-f and -d)


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software