🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3720

Re: gets() and getchar

#3720
From: Peter Holzer
Date: Mon, 14 Aug 1995 12:26
19 lines
1142 bytes
wirzeniu@cc.Helsinki.FI (Lars Wirzenius) writes:

>Actually, to followup to my own post (darn those quick save-and-post
>fingers), there're a few other mem*/str* functions that might also
>be useful to have in the standard:

>memrchr - counterpart to memchr
>strend - convenience function for strchr(s, '\0')
>strmove - similar to memmove
>strnlen - like strlen, but give a maximum

memmem - counterpart to strstr.

	hp
--
   _  | Peter Holzer | Systemadministrator WSR | hjp@wsr.ac.at
|_|_) |-------------------------------------------------------
| |   |  ...and it's finished!  It only has to be written.
__/   |         -- Karl Lehenbauer
Technical Details
Message-ID: <40nfcp$8nl@wsrcom.wsr.ac.at>
Path: arc1-ca.pugleaf.net!wsrcom.wsr.ac.at!wsrdb!hjp
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <40bqih$bft@caip.rutgers.edu> <1995Aug11.002333.20047@dcs.warwick.ac.uk> <40fn05$686@kruuna.helsinki.fi> <40fng8$7ep@kruuna.helsinki.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!wsrcom.wsr.ac.at!wsrdb!hjp
From: hjp@wsrdb.wsr.ac.at (Peter Holzer)
Newsgroups: comp.std.c
Subject: Re: gets() and getchar
Date: 14 Aug 1995 12:26:01 GMT
Organization: WSR, Vienna, Austria
Message-ID: <40nfcp$8nl@wsrcom.wsr.ac.at>
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <40bqih$bft@caip.rutgers.edu> <1995Aug11.002333.20047@dcs.warwick.ac.uk> <40fn05$686@kruuna.helsinki.fi> <40fng8$7ep@kruuna.helsinki.fi>
NNTP-Posting-Host: wsrdb.wsr.ac.at