Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gmtime(3F7768) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctime(3)

itime(3F7768)

idate(3F7768)

fdate(3F7768)

TIME(3F7768)  —  NEWS-OS Programmer’s Manual

名称

time, ctime, ltime, gmtime −  システム時間を返す

形式

integer function time() character∗(∗) function ctime (stime)
integer stime subroutine ltime (stime, tarray)
integer stime, tarray(9) subroutine gmtime (stime, tarray)
integer stime, tarray(9)

解説

time は、 1970 年 1 月 1 日 00:00:00 GMT からの現在までの経過時間を 秒で返します。 これは、 NEWS-OS システムクロックの値です。

ctime は、 システム時間を 24 文字の ASCII 文字列に変換します。 書式は、 ctime(3) で説明されています。 “改行” や NULL は含まれません。

ltime および gmtime は、 NEWS-OS の時間を ローカル時間または "GMT" の月、日などに分割します。 tarray 中に返される各要素の順序および意味については ctime(3) で説明されています。

関連ファイル

/usr/lib/libU7768.a

関連事項

ctime(3), itime(3F7768), idate(3F7768), fdate(3F7768)

NEWS-OSRelease 4.2.1R

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