dmi_get_date man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

DMI_GET_DATE(9)		      Firmware Interfaces	       DMI_GET_DATE(9)

NAME
       dmi_get_date - parse a DMI date

SYNOPSIS
       bool dmi_get_date(int field, int * yearp, int * monthp, int * dayp);

ARGUMENTS
       field
	   data index (see enum dmi_field)

       yearp
	   optional out parameter for the year

       monthp
	   optional out parameter for the month

       dayp
	   optional out parameter for the day

DESCRIPTION
       The date field is assumed to be in the form resembling [mm[/dd]]/yy[yy]
       and the result is stored in the out parameters any or all of which can
       be omitted.

       If the field doesn't exist, all out parameters are set to zero and
       false is returned. Otherwise, true is returned with any invalid part of
       date set to zero.

       On return, year, month and day are guaranteed to be in the range of
       [0,9999], [0,12] and [0,31] respectively.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		       DMI_GET_DATE(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net