🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3765

Re: gets() and getchar

#3765
From: halasz
Date: Thu, 17 Aug 1995 22:06
6 lines
636 bytes
wirzeniu@cc.Helsinki.FI (Lars Wirzenius) writes
+One thing I would like to see (if we're going to have a new standard
+anyway, that is) is something that does what strncpy should have done.
+I call mine strmaxcpy:

The alreddie oft-found "memccpy" is quite useful.
Technical Details
Message-ID: <410egu$65i@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <40nf9d$8nh@wsrcom.wsr.ac.at>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
From: halasz
Newsgroups: comp.std.c
Subject: Re: gets() and getchar
Date: 17 Aug 1995 18:06:22 -0400
Organization: ?
Sender: halasz@caip.rutgers.edu
Message-ID: <410egu$65i@caip.rutgers.edu>
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <40nf9d$8nh@wsrcom.wsr.ac.at>
NNTP-Posting-Host: caip.rutgers.edu