Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ calendar(3X) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

portnls(5)

calendar(3X)

NAME

calendar() − return the MPE calendar date

SYNOPSIS

#include <portnls.h>

unsigned short calendar(void);

DESCRIPTION

This routine returns the calendar date in the format:

Bits 0 6 7 15
_ _ _ _
Year of Century Day of Year
_ _ _ _

RETURN VALUE

An unsigned short integer containing the calendar format. 

WARNINGS

This routine is provided for compatibility with MPE, another HP operating system. See portnls(5) for more information on the use of this routine. Use the Native Language Support routines for C programmers described on hpnls(5) for HP-UX NLS support. 

AUTHOR

calendar() was developed by HP. 

SEE ALSO

portnls(5). 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026