Project

General

Profile

Actions

Submit #3270

closed

fix man pages for sysctl KERN_OSREV and KERN_OSRELDATE

Added by mikdusan over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Documentation
Target version:
Start date:
05/11/2021
Due date:
% Done:

0%

Estimated time:

Description

Noticed this was incorrect when writing some os-detection userland code. Took the liberty to add some notes about the os flat number versioning scheme.

before : man 3 sysctl

     KERN_OSRELDATE
             The system release date in YYYYMM format (January 1996 is encoded
             as 199601).

     KERN_OSREV
             The system revision string.

after : man 3 sysctl

     KERN_OSRELDATE
             The same as ‘KERN_OSREV’.

     KERN_OSREV
             The system revision number in base-10 format Mmmmpp, representing
             the following components:

                   Code    Component
                   M       major
                   mmm     minor
                   pp      patch

             The minor component is an even-number for release and odd-number
             for development branches.


Files

sysctl-man.diff (1.36 KB) sysctl-man.diff mikdusan, 05/11/2021 09:13 AM
Actions

Also available in: Atom PDF