/proc programming

This is a discussion on /proc programming within the C Programming forums, part of the General Programming Boards category; Hi to all, I wanted to ask if anyone of you have good sources of how to work with /proc..I ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    22

    /proc programming

    Hi to all,

    I wanted to ask if anyone of you have good sources of how to work with /proc..I tried google but the results are not that satisfying.

    If you have please send them to me..

    Warm regards,
    Visham

  2. #2
    ZuK
    ZuK is offline
    Registered User
    Join Date
    Aug 2005
    Location
    Austria
    Posts
    1,990
    What problems do you have ?. /proc behaves like any other filesystem.
    You can use ordinary file functions like fopen, fread, fwrite, fscanf ...
    Kurt

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    22
    I need to make a kernel pace program to initiate a communication to a userspace program..the kernelspace program (i modified some functions in the the iptables kernel code) needs to notify a userspace program that it has to start its execution. I was told that system calls, libraries and (g)libc are not avaibale in kernel space. I wa told to look at procfs.

    Can you help..

    Warm regards,
    Visham

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading /proc
    By crisis in forum Linux Programming
    Replies: 3
    Last Post: 11-07-2007, 03:46 AM
  2. parse error
    By DMaxJ in forum C Programming
    Replies: 7
    Last Post: 06-30-2003, 08:54 PM
  3. Determaining if a program is running
    By WebmasterMattD in forum Linux Programming
    Replies: 4
    Last Post: 04-09-2002, 04:36 PM
  4. Unix/Linux Processes
    By pdstatha in forum Linux Programming
    Replies: 2
    Last Post: 03-27-2002, 11:56 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21