From: utzoo!decvax!cca!mbm@mit-cipg@sri-unix
Newsgroups: net.unix-wizards
Title: ls, declaring lib functions
Article-I.D.: sri-unix.2392
Posted: Sun Aug  1 20:20:41 1982
Received: Mon Aug  2 03:45:38 1982

Date: 2 Jul 1982 10:20:35-EDT

Berkeley's ls does not report the year of old files on the pdp11,
because it does not declare time() to be long, and always thinks
the current year is 1969. 

Strictly, time should probably be declared time_t.

This is a perennial problem in C, especially in regards to portability
to other machines and systems.  I think we should extend the idea of
 and  to an include file for all the C library routines
(system call interfaces and others), say , so that non-int
functions would get properly declared automagically by including this file.

[My apologies to those on more than one of these lists.]
--mike