On Fri, Apr 24, 2026 at 06:54 +0800, Kevin J. McCarthy wrote:

(replying to the sub-thread with Kurt lower): I realized the return type is actually ssize_t, but I chose to work with size_t in this case because of the:

   if (res < length_requested)
   {
     length_requested -= res;
     random_bytes += res;
   }

I hope that code is not executed if the return value is -1.

Reply via email to