delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/15/11:03:47

From: costa <noppublicmail AT nomail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: dir problems
Date: 15 Mar 2003 15:55:28 GMT
Organization: Your Company
Lines: 17
Message-ID: <Xns933F32422435Dehowardtcanadacom@193.252.19.141>
NNTP-Posting-Host: aputeaux-115-1-8-51.abo.wanadoo.fr
X-Trace: news-reader10.wanadoo.fr 1047743728 13530 81.49.92.51 (15 Mar 2003 15:55:28 GMT)
X-Complaints-To: abuse AT wanadoo DOT fr
NNTP-Posting-Date: 15 Mar 2003 15:55:28 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

Is there a way to duplicate a value given back by readdir ?
I want to store them in a struct  wich is :

typedef struct FileList {

	char *FileName;
	char *FileType;
	int pos;
	struct FileList *pNext;

}FileList;

any pointers would be helpfull.

Thanks costa

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019