Article View: gnu.gcc.help
Article #42096Traversing directory trees
From: Anne Kristine Ugedal
Date: Tue, 23 Jan 1996 00:00
Date: Tue, 23 Jan 1996 00:00
20 lines
1352 bytes
1352 bytes
Hi! I'm quite new to gcc, so if anyone could give me a hint... I would like to traverse a directory tree in a gcc/g++ program, like ls -R does.Are there any functions in some gcc-library that could help me with this? Something like GetFirstDirEntry() and GetNextDirEntry() ? Or would this be different on different platforms? I would like this code to work on both linux and AmigaOS, perhaps with a wrapper on my own to hide any differences. Anne, who would be greatful for any kind of help! *************************************************************************** * Anne Kristine Ugedal *** Win.HLP AS, Norway - my employer * ** Spare time Amiga developer *** Office time Windows developer. ** *** anneu@colargol.idb.hist.no *** anne@winhlp.no *** **** http://colargol.idb.hist.no/~anneu *** http://www.winhlp.no **** ***************************************************************************
Technical Details
Message-ID:
<4e2lgj$2pb@astfgl.idb.hist.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6abcfc7111df6904,start X-Google-Attributes: gid11318c,public From: anneu@colargol.idb.hist.no (Anne Kristine Ugedal) Subject: Traversing directory trees Date: 1996/01/23 Message-ID: <4e2lgj$2pb@astfgl.idb.hist.no> X-Deja-AN: 136044547 organization: Sor-Trondelag College, Norway newsgroups: gnu.gcc.help