MQ said:
>
Richard Heathfield wrote:
>No, usually DIR is a Win32 console command asking for a directory
listing. There is a significant potential for confusion between the two
terms when you have someone coming from a Windows background to a Linux
environment, and comp.lang.c is not the best group to deal with such
confusion.
I would doubt there is any confusion, as the title suggests a struct
variable named DIR, not a Win32 console command
If you read it in one way, yes. Sort of "how can I find the header
containing DIR". I do see that. But what you may have missed is that it is
also possible to read it another way (along the lines of "what am I
supposed to use to find <stuff in files>? DIR?"). And the text of the
original article suggests an operating system search technique: "we can
easily solve it by using INDEX search", which seems to me (although of
course I could be wrong) to be a reference to Microsoft's facility to
search within files - a sort of poor man's grep.
So yes, the possibility for confusion does exist, and I think he needs to
sort it out elsenet on this occasion.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.