Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ArnoMantwill

  1. ArnoMantwill

    Writing IP code in C++

    Hi! Here is a site for just C, not C++ but maybe you'll like it: http://www.cs.cf.ac.uk/Dave/C/node28.html#SECTION002800000000000000000 Arno
  2. ArnoMantwill

    Timing a function

    Use function ftime(). There you'll get milliseconds. Arno
  3. ArnoMantwill

    Unix shell command inside a C/C++ program?

    If you use a pipe you can put and read information from the command. Here is a sample to work with a pipe. This sample looks if a program is already running and returns the number of running programs. But you can write as well to a pipe like to a file. int send_emsgs_already_running () { FILE...
  4. ArnoMantwill

    files and pipes and streams, oh my!

    Here is a sample to work with a pipe. This sample looks, if a program is already running and returns the number of running programs. But you can write as well to a pipe like to a file. int send_emsgs_already_running () { FILE *fps; const char *ps = "ps -e|grep iaksend_emsgs"; char...
  5. ArnoMantwill

    Proccess-ID's and names

    Hi folks! I've found the source code of "ps" at Debian. But it's quite complicated for simple use! I think, I will use "ps" and changing its standard output like mentioned by Kenrae. Thanks!
  6. ArnoMantwill

    Proccess-ID's and names

    Does anyone know how to get in Unix a list of the running procces-ID's and names in a C program like "ps" does? I have searched a lot but found nothing!
  7. ArnoMantwill

    thread programming in unix/linux

    The best site I know about programming C under Unix is: http://www.cs.cf.ac.uk/Dave/C/CE.html There you'll find a lot of useful things and all about threads!

Part and Inventory Search

Back
Top