are there some function in C to notify about the OS used?

2005-11-27 Thread Javier Matos
I was programming an application to work with system process that can be found in /proc path and now I must to migrate my application to a linux OS but the structure of status file is different. I made two procedures to take information about status files, one for FreeBSD and another for

Re: are there some function in C to notify about the OS used?

2005-11-27 Thread Roland Smith
On Sun, Nov 27, 2005 at 07:16:21PM +0100, Javier Matos wrote: I was programming an application to work with system process that can be found in /proc path and now I must to migrate my application to a linux OS but the structure of status file is different. I made two procedures to take

Re: are there some function in C to notify about the OS used?

2005-11-27 Thread Louis LeBlanc
On 11/27/05 07:22 PM, Roland Smith sat at the `puter and typed: On Sun, Nov 27, 2005 at 07:16:21PM +0100, Javier Matos wrote: I was programming an application to work with system process that can be found in /proc path and now I must to migrate my application to a linux OS but the