[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can a and d be the same for asort?

From: Peng Yu
Subject: Re: can a and d be the same for asort?
Date: Sun, 4 Jul 2021 16:28:05 -0500

Since the manual does not say a and d can be the same or not, to be
complete, it should be clearly documented that they should not be the

For example, man strcpy made it clear when such ambiguity occurs.


"The strings may not overlap, and the destination string dest must be
large enough to receive the copy."

> It's OK, but why is it useful and worth documenting?
> What's the benefit of supplying a 2nd argument equal
> to the 1st argument?

I don't know if there is any benefit. That is why I think this should
be documented.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]