Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2005 19:16:21 +0100
From:      "Javier Matos" <javierlu@gmail.com>
To:        <freebsd-questions@freebsd.org>
Subject:   are there some function in C to notify about the OS used?
Message-ID:  <002901c5f37e$ad060950$0301a8c0@mindcrash>

next in thread | raw e-mail | index | archive | help
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 =
Linux... , now I need some function in C to notify about the OS used to =
run the application to select between two procedures... but I can=B4t =
find it, can anyone help me?

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002901c5f37e$ad060950$0301a8c0>