🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #26175

how to touch a directory?

#26175
From: 59462[dls]-j.m.borden
Date: Tue, 05 Apr 1988 04:41
7 lines
687 bytes
How does one set change the last-modification-time of a directory using C?
The same is easy for a file: use setftime().  But I can find no such function
for directories and I get a access denied message when trying to use file
techniques for directories.  [Solutions using Turbo C are preferred]
TIA
Marty Borden
uucp: {inhp4, att-cb}!arrow!marty
Technical Details
Message-ID: <562@io.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!rutgers!mtunx!mtunk!io!marty

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!rutgers!mtunx!mtunk!io!marty
From: marty@io.ATT.COM (59462[dls]-j.m.borden)
Newsgroups: comp.sys.ibm.pc
Subject: how to touch a directory?
Message-ID: <562@io.ATT.COM>
Date: 5 Apr 88 04:41:38 GMT
Organization: AT&T, Middletown NJ USA
Lines: 7
Keywords: touch setftime