www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/15/12:20:25

From: "David C. Hoos, Sr." <david DOT c DOT hoos DOT sr AT ada95 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strset function
Date: Mon, 15 Nov 1999 09:21:30 -0600
Organization: CRC: A wholly owned subsidiary of Thermo Electron
Lines: 17
Message-ID: <80p8dj$lkj$1@hobbes2.crc.com>
References: <1e1batd DOT 137nbir1xiefqN AT d249 DOT paris-48 DOT cybercable DOT fr>
NNTP-Posting-Host: visnt021.vis.crc.com
X-Trace: hobbes2.crc.com 942679283 22163 205.149.48.21 (15 Nov 1999 15:21:23 GMT)
X-Complaints-To: abuse AT crc DOT com
NNTP-Posting-Date: 15 Nov 1999 15:21:23 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Marcel Creissels <mcreiss AT cybercable DOT fr> wrote in message
news:1e1batd DOT 137nbir1xiefqN AT d249 DOT paris-48 DOT cybercable DOT fr...
> strset function does not exist in djgpp for msdos
> version v2 as in djgpp for os/2.
> can you help to obtain same result using the other
> available string.h functions
> many thanks      m.creiss
char *strset (char *s, char c)
{
  while (*s)
    {
    *s++ = c;
    }
}


- Raw text -


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