GETOSRELDATE(3)

NAME
getosreldate - get the value of __DragonFly_version

LIBRARY
libc

SYNOPSIS
#include <unistd.h>
int
getosreldate(void);

DESCRIPTION
The getosreldate() function returns an integer showing the version of the currently running DragonFly kernel.

RETURN VALUES
In case of failure, the getosreldate() functions returns -1 and the global variable errno is set to indicate the error.

HISTORY
The getosreldate() appeared in FreeBSD 2.0.