OT: snprintf() null termination

From: Vanja Hrustic (vanjaat_private)
Date: Thu May 30 2002 - 07:57:42 PDT

  • Next message: Matthew F. Caldwell: "RE: wireless woes ... Stats on WEP usage."

    I remember there were threads about this issue already, but it's hard to
    draw a conclusion.
    
    So - do all platforms properly null-terminate string (on overflow) when
    snprintf() is used, or one should still use "sizeof(string)-1" for the
    size of the snprintf()-ed string?
    
    Thanks.
    
    Vanja
    



    This archive was generated by hypermail 2b30 : Thu May 30 2002 - 09:48:42 PDT