|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)fdate.3f 6.2 (Berkeley) 5/27/86 ! 6: .\" ! 7: .TH FDATE 3F "May 27, 1986" ! 8: .UC 5 ! 9: .SH NAME ! 10: fdate \- return date and time in an ASCII string ! 11: .SH SYNOPSIS ! 12: .B subroutine fdate (string) ! 13: .br ! 14: .B character*(*) string ! 15: .sp 1 ! 16: .B character*(*) function fdate() ! 17: .SH DESCRIPTION ! 18: .I Fdate ! 19: returns the current date and time as a 24 character string ! 20: in the format described under ! 21: .IR ctime (3). ! 22: Neither `newline' nor NULL will be included. ! 23: .PP ! 24: .I Fdate ! 25: can be called either as a function or as a subroutine. ! 26: If called as a function, the calling routine must define ! 27: its type and length. For example: ! 28: .nf ! 29: ! 30: character*24 fdate ! 31: external fdate ! 32: ! 33: write(*,*) fdate() ! 34: ! 35: .fi ! 36: .SH FILES ! 37: .ie \nM /usr/ucb/lib/libU77.a ! 38: .el /usr/lib/libU77.a ! 39: .SH "SEE ALSO" ! 40: ctime(3), time(3F), itime(3F), idate(3F), ltime(3F)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.