how to put a program into .plan file

Paul John Falstad pfalstad at phoenix.Princeton.EDU
Thu Sep 27 23:25:21 AEST 1990


In article <1990Sep27.060223.29844 at mercury.cair.du.edu> rwelch at diana.cair.du.edu (RANDY S WELCH) writes:
>Somewhat along the same lines, how can one tell if a file you have been
>reading has been mv'ed?  

Couldn't you just use access() to see if it's still in the same place?
If you think someone has mv'ed your file somewhere else and then mv'ed
another one in its place, I suppose you could stat the file and fstat
your descriptor and compare the two...

If Lafontaine's elk would spurn Tom Jones, the engine must be our head, the
dining car our esophagus, the guardsvan our left lung, the kettle truck our
shins, the first class compartment the piece of skin at the nape of the neck,
and the level crossing an electric elk called Simon.



More information about the Comp.unix.programmer mailing list