Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.linux.misc    |    Linux-specific topics not covered by oth    |    135,536 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 134,458 of 135,536    |
|    rbowman to Charlie Gibbs    |
|    Re: What is wrong with C? (and fond memo    |
|    06 Jan 26 20:10:57    |
      XPost: alt.folklore.computers, alt.unix.geeks       From: bowman@montana.com              On Tue, 06 Jan 2026 18:57:04 GMT, Charlie Gibbs wrote:              > Inspired by readline(), I've written my own replacements for strcpy()       > and strcat() that do much the same thing.              To quote from the strcat man page "Read about Shlemiel the painter.".       stpcpy() was a late arrival and I never used it. I do use a similar       construct              char buf[1024];       char* ptr = buf;              ptr += sprintf(ptr, "%s", "some stuff");       ptr += sprintf(ptr, "%s", " some more stuff");              Whether or not I do a test depends on the context.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca