Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-16-2011, 11:22 PM   #1
Registered: Sep 2009
Location: Bangalore
Posts: 33

Rep: Reputation: 0
What happens internally when we create a file in Linux

Hi All,

I am using NetBSD-5.1.
1. I wanted to know what happens internally when we create a file in linux. ?

The header file STDIO.H present in "src/include/stdio.h" contains a "FILE" structure with various members like _p, _cookie, etc.

2. I wanted to know how does internally memory gets allocated for them.?


Bangalore, India
Old 01-17-2011, 05:29 AM   #2
Registered: Oct 2008
Location: Ireland
Distribution: Slackware 13.0, Slackware 13.37
Posts: 68
Blog Entries: 2

Rep: Reputation: 18
So I recommend you to read man page for fopen, and if that's not enough go to the source of fopen and study it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a .bin file in linux sharad Linux - General 6 12-03-2009 03:59 AM
How to create a device file in linux? chaitanya1982 Linux - Newbie 3 09-24-2008 12:42 PM
how to create a batch file in linux sting1220 Linux - Newbie 7 12-23-2007 11:58 PM
how to create an executable like file in linux?? suliman_shah Programming 6 08-17-2007 12:06 AM
how to create a new .C file in linux amirthakumar Linux - General 3 08-09-2007 05:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration