D
Diego Andres Alvarez Marin
Hello all
How can I check if a subdirectory exists?
Regards,
Diego
How can I check if a subdirectory exists?
Regards,
Diego
Diego Andres Alvarez Marin said:Hello all
How can I check if a subdirectory exists?
Hello all
How can I check if a subdirectory exists?
Thomas said:Op Tue, 04 May 2004 02:17:25 -0700, schreef Diego Andres Alvarez Marin:
By posting to comp.os.linux.development.apps
mvg Thomas
Thomas Matthews said:That won't help me with my embbeded ARM processor
system that I am working on. Do you have any
suggestions?
Search your C library headers for functions such as opendir, readir, etc.
These are POSIX functions and should suit your needs. Are you using
VxWorks? Look in the Reference Manual for the "dirLib."
Joona I Palaste said:Thomas, you need to be less subtle. Xenos missed your point.
--
/-- Joona Palaste ([email protected]) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"Bad things only happen to scoundrels."
- Moominmamma
Xenos said:Search your C library headers for functions such as opendir, readir, etc.
These are POSIX functions and should suit your needs. Are you using
VxWorks? Look in the Reference Manual for the "dirLib."
DrX
Joona said:Thomas, you need to be less subtle. Xenos missed your point.
I never said anything about any flavor of Unix. If it doesn't have aThomas Matthews said:Sorry, but my embedded system is not running *nix.
Another hint: It doesn't have a file system.
So, how does opendir work on it?
You flip your "stop being a c.l.c asshole" and just answer the poor guysThomas Matthews said:Sorry, perhaps this will do:
I am running a simple operating loop on an embedded system that
does not have a harddrive. It has an ARM processor, a UART,
and SRAM. How do I use anybody's techniques for finding
subdirectories on my platform, especially when it doesn't
support any kind of filesystem?
Xenos said:You flip your "stop being a c.l.c asshole" and just answer the poor guys
question.
Joona I Palaste said:You stop insulting people and have another look at this thread, to see
that I answered his question long before you got into your little feud.
I never started any "little feud." I was just trying to answer to OP. I
didn't have that particular message (my server seems to drop a lot) and used
to one furthest up the thread. It was you who had to throw in a pompous
comment. I swear, posting here is like poking a bear with a stick.
Xenos said:You flip your "stop being a c.l.c asshole" and just answer the poor guys
question.
I never said anything about any flavor of Unix. If it doesn't have a
filesystem, why do you care?
Why don't you flip your "stop being an asshole (unqualified" switch?Xenos said:You flip your "stop being a c.l.c asshole" and just answer the poor guys
question.
Xenos said:I never started any "little feud." I was just trying to answer
to OP. I didn't have that particular message (my server seems to
drop a lot) and used to one furthest up the thread. It was you
who had to throw in a pompous comment. I swear, posting here is
like poking a bear with a stick.
Sorry, perhaps this will do:
I am running a simple operating loop on an embedded system that
does not have a harddrive. It has an ARM processor, a UART,
and SRAM. How do I use anybody's techniques for finding
subdirectories on my platform, especially when it doesn't
support any kind of filesystem?
and one evening you'll open your front door to discover that you your
memory space is flat, due to that anvil he just dropped on it....
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.