09-02-2010
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I prepare to install linux distros , freebsd and solaris(totally 6 OS) in a 40G harddisk, but I fail to do it, so I would like to ask some question here.
Can different distros share the same linux swap?or each distros need to have their own?
I made 6 partitions(5 x 7G , 1 x 4G) and 256M(I... (8 Replies)
Discussion started by: jcheng
8 Replies
2. UNIX for Dummies Questions & Answers
Are Solaris's commands the same with *BSD's commands ?
Thanks (1 Reply)
Discussion started by: Sasuke
1 Replies
3. BSD
for all you unix/linux interested heres an online book for free that covers the basics of BSD SysV Unix commands and applications . giving the average linux user a perspective on the differences in context of the two operating systems and for BSD users covers material as a refernce guide.
... (0 Replies)
Discussion started by: moxxx68
0 Replies
4. Programming
Hi i have a C program that i need to port from solaris to BSD
The flags i pass on CC in solaris are -lsocket -lnsl
I use sockets and threads anyone know flags for BSD (1 Reply)
Discussion started by: yngwie
1 Replies
5. Solaris
I'm attached to a Linux system that is giving me options to use BSD formats or Unix formats. For Example ps -ax or ps ax. I need to know which is the Solaris flavor. Thanks. (6 Replies)
Discussion started by: DavidS
6 Replies
6. Solaris
Hi,
Thanks (10 Replies)
Discussion started by: rocky1954
10 Replies
7. Solaris
Hi there,
I am new to this operating system, so would like to ask for directions on how to go about doing Solaris 10 dual boot with freeBSD on a virtual machine (virtualbox).
Do you have to partition the disk to allow for another OS to occupy? Like in windows? I tried doing this but failed... (6 Replies)
Discussion started by: czy
6 Replies
LEARN ABOUT FREEBSD
getosreldate
GETOSRELDATE(3) BSD Library Functions Manual GETOSRELDATE(3)
NAME
getosreldate -- get the value of __FreeBSD_version
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
getosreldate(void);
DESCRIPTION
The getosreldate() function returns an integer showing the version of the currently running FreeBSD kernel. Definitions of the values can be
found in The Porter's Handbook which is usually installed at /usr/share/doc/en_US.ISO8859-1/books/porters-handbook/.
RETURN VALUES
Upon successful completion, getosreldate() returns the value requested; otherwise the value -1 is returned and the global variable errno is
set to indicate the error.
ENVIRONMENT
OSVERSION If the environment variable OSVERSION is set, it will override the getosreldate() return value.
EXAMPLES
An example can be found in /usr/share/examples/FreeBSD_version.
ERRORS
The getosreldate() function may fail and set errno for any of the errors specified for the library function sysctl(3).
SEE ALSO
The Porter's Handbook, /usr/share/doc/en_US.ISO8859-1/books/porters-handbook/.
HISTORY
The getosreldate() function appeared in FreeBSD 2.0.
BSD
September 30, 2008 BSD