473,503 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

H[y]stery behind the structure name FILE?

I don't seem to recall having seen any other structure defined in the
standard libraries
that has an all uppercase name. FILE, is a glaring exception. Does
anyone know as
to why this is so?

I am not too sure if this is the right place for this question, so I
beg your pardon if I've
wandered off-topic.

Regards,
Suman

Apr 19 '07 #1
3 1105
In article <11*********************@o5g2000hsb.googlegroups.c om>,
Suman <sk*****@gmail.comwrote:
>I don't seem to recall having seen any other structure defined in the
standard libraries that has an all uppercase name. FILE, is a glaring
exception. Does anyone know as to why this is so?
Historical reasons. It was a macro in the first implementations, see:

http://minnie.tuhs.org/UnixTree/V7/u...e/stdio.h.html

Incidentally, FILE is not required to be a struct.

-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
Apr 19 '07 #2
On Apr 19, 6:51 pm, rich...@cogsci.ed.ac.uk (Richard Tobin) wrote:
In article <1176987886.196645.22...@o5g2000hsb.googlegroups.c om>,

Suman <skar...@gmail.comwrote:
I don't seem to recall having seen any other structure defined in the
standard libraries that has an all uppercase name. FILE, is a glaring
exception. Does anyone know as to why this is so?

Historical reasons. It was a macro in the first implementations, see:

http://minnie.tuhs.org/UnixTree/V7/u...e/stdio.h.html

Incidentally, FILE is not required to be a struct.
Of course! That makes sense. I vaguely remember having read this
somewhere.

Thanks a lot for refreshing my memory.

Regards,
Suman

Apr 19 '07 #3
Suman wrote:
>
I don't seem to recall having seen any other structure defined in the
standard libraries
that has an all uppercase name. FILE, is a glaring exception. Does
anyone know as
to why this is so?

I am not too sure if this is the right place for this question, so I
beg your pardon if I've
wandered off-topic.
Notice the funny line ending sequences in this quote. You can
avoid this if you simply restrict your output lines to be under 72
chars (67 is even better).

--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>

"A man who is right every time is not likely to do very much."
-- Francis Crick, co-discover of DNA
"There is nothing more amazing than stupidity in action."
-- Thomas Matthews

--
Posted via a free Usenet account from http://www.teranews.com

Apr 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1473
by: Girish | last post by:
hey all, im building a asp.net project in vs.net. Is there a way to have the codebehind files sit in a different folder outside the website folder altogether? example: The aspx files are in...
171
7584
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
19
3730
by: Alan Silver | last post by:
Hello, I have been developing ASP.NET with a text editor so far (better way to learn initially), and have now been trying Visual Web Developer. I want to create a project for an existing site...
15
26888
by: Swetha | last post by:
Hello I have a DropDownList that I am populating using the following SqlDataSource: <asp:DropDownList ID="parentIDDropDownList" runat="server" DataSourceID="SqlDataSource3"...
1
1487
by: Steve | last post by:
HI I've run into a big problem I placed my webpage scripting in the code behind here i put out form tags with table linement stufffffffffffffff Response.Write("<form method=post...
2
2318
by: Hiten | last post by:
Is it possible to have more code behind file but that file will have same class in way of partial class, Default Structure I -------------- Homepage.aspx + Homepage.aspx.cs (this .cs file...
19
5352
by: Lee Crabtree | last post by:
Is there a class in the framework that allows me read text from a file in an unbuffered manner? That is, I'd like to be able to read lines in the same manner as StreamReader.ReadLine(), but I also...
4
2108
by: MikeJ | last post by:
make a While loop ofs = TextFileServer("somefile") string srow while (ofs=false) { srow=ofs.getRow(); Console.Writeline(srow); }
6
4193
by: Bill H | last post by:
I am wondering if this is possible. I have a file that is accessed by multiple users and keeps track of activity (the file is polled by flash every 2 seconds). As users leave, the flash program...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
382
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.