Thread (13 messages) 13 messages, 4 authors, 2026-02-25

Re: QChar and QVoid for strchr(3), memchr(3), et al.

From: Paul Eggert <hidden>
Date: 2026-02-24 17:14:10

On 2026-02-24 06:28, Alejandro Colomar wrote:
-  In the SYNOPSIS, do you prefer QChar/QVoid or overload style?

	QChar *strchr(QChar *s, int c);
    vs
	char *strnul(char *s);
	const char *strnul(const char *s);
One documents strchr, the other strnul. And strchr and strnul do differ: 
strchr has an underlying obsolescent function, and strnul does not. This 
suggests strchr should be documented differently from strnul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help