public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [OT] mkdir in a C program?
@ 2008-04-04 14:57 Denis
  2008-04-04 15:06 ` Ale
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Denis @ 2008-04-04 14:57 UTC (permalink / raw
  To: gentoo-user

Does anyone know if a directory can be created from inside a C program
and how that is done?  Suppose I run the code from my own directory
/home/mydir, and I want the code to create a directory
/home/mydir/mydata, where data is to be written, what would the format
for such a command be?  Also, when you write files to
/home/mydir/mydata, do i put in something like "./mydata/filename" as
the filename to open/write?

Many thanks!
Denis
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-04-04 15:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04 14:57 [gentoo-user] [OT] mkdir in a C program? Denis
2008-04-04 15:06 ` Ale
2008-04-04 15:10 ` Francisco Rivas
2008-04-04 15:12 ` Markus Schönhaber
2008-04-04 15:20   ` Denis
2008-04-04 15:22     ` Francisco Rivas
2008-04-04 15:31       ` Denis
2008-04-04 15:36         ` Francisco Rivas
2008-04-04 15:38           ` Denis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox