CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/11/20 03:18:15

Modified files:
        usr.bin/sndiod : dev.c dev_sioctl.c file.c listen.c midi.c opt.c 
                         sndiod.c sock.c utils.c utils.h 

Log message:
sndiod: Handle -1 return value from snprintf(3)

Wrap snprintf(3) in a new xsnprintf() function that aborts if -1 is
returned. Use the value returned by xsnprintf() to determine the
expected output string size (i.e. the number of bytes that would have
been written if the buffer size was unlimited).

Reply via email to