LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2003, 07:57 AM   #1
cybercop12us
Member
 
Registered: Aug 2001
Posts: 60

Rep: Reputation: 15
unix open() question!!


hi,

if i open a file using open() what mode is it opened by
default? viz binary mode or textual mode?


thanks,
harish
 
Old 01-16-2003, 11:42 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Defininately binary.

BTW "textual mode" doesn't differ from binary inside a UNIX-environment. In fact "textual mode" doesn't exists at all in UNIX/Linux. It is used in DOS/Windows C stdio libraries only.
 
Old 01-17-2003, 08:50 AM   #3
cybercop12us
Member
 
Registered: Aug 2001
Posts: 60

Original Poster
Rep: Reputation: 15
thanks friend i got it!!
 
  


Reply


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
A Unix shell question a2715mt Linux - General 2 08-25-2004 04:42 PM
How is Open Source related to UNIX and LINUX? Smokey2001 Linux - Newbie 2 03-31-2004 11:45 PM
Open-Source GUI Backup for Linux/UNIX heathpitts Linux - Software 2 02-17-2004 11:57 AM
question on Unix using linux collegegirl2004 Programming 3 06-28-2003 10:40 AM
UNIX question... marvc General 1 08-22-2002 03:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:47 AM.

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