Welcome to the most active Linux Forum on the web.
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 02-05-2008, 06:05 AM   #1
Registered: Oct 2007
Posts: 66

Rep: Reputation: 15
dlopen calls

hai all
i want to know what are the system calls used when i try to open a file in user space program(c).(using fopen);

i think that i should use dlopen,dlsym calls for to do that?
can anyone suggest me some ideas?i m totally confused with that?

thanks in advance
Old 02-05-2008, 06:33 AM   #2
LQ Newbie
Registered: Mar 2006
Posts: 12

Rep: Reputation: 0
dlopen and friends are used to handle dynamic libraries.
If you want to handle a simple file (open, create, read, write, close ...) the fopen and friends (fputc, fputs, fprintf, fscanf, fflush, fclose ...) are OK.
See man pages for syntax and information (eg 'man fopen')


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
Question About Dlopen And Constructor Method George2 Programming 3 03-31-2006 08:54 PM
LD_LIBRARY_PATH and dlopen smrcis Programming 5 03-08-2006 06:10 PM
Dlopen function - UNDEFINED REFERENCE mamthababu Programming 1 07-19-2005 10:20 AM
dlopen in multi-threading environnement yakotey Programming 2 06-30-2005 08:36 AM
Forcing dlopen to look at LD_LIBRARY_PATH again wiredj Programming 2 09-24-2004 06:55 PM > Forums > Linux Forums > Linux - Newbie

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

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