|
|
1.1 ! root 1: .pa 1 ! 2: .he 'MDATE (II)'3/15/72'MDATE (II)' ! 3: .ti 0 ! 4: NAME mdate -- set modified date on file ! 5: .s3 ! 6: .ti 0 ! 7: SYNOPSIS (time to r0-r1) ! 8: .br ! 9: .nf ! 10: sys mdate; file / mdate = 30. ! 11: .s3 ! 12: .nf ! 13: mdate(file, time) ! 14: char *file; ! 15: int time[2]; ! 16: .fi ! 17: .fi ! 18: .s3 ! 19: .ti 0 ! 20: DESCRIPTION File____ ! 21: is the address of a null-terminated string giving the ! 22: name of a file. ! 23: The modified time of the file is set to the time given in ! 24: the r0-r1 registers ! 25: (resp. in the vector which is the second argument). ! 26: .s3 ! 27: This call is allowed only to the super-user ! 28: or to the owner of the file. ! 29: .s3 ! 30: .ti 0 ! 31: SEE ALSO -- ! 32: .s3 ! 33: .ti 0 ! 34: DIAGNOSTICS Error bit ! 35: is set if the user is neither the owner nor the super-user or if the file cannot be found. ! 36: From C, a negative return indicates an error, ! 37: a 0 return indicates success. ! 38: .s3 ! 39: .ti 0 ! 40: BUGS --
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.