The UNIX and Linux Forums
>
Top Forums
>
High Level Programming
does snprintf guarantee null termination?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
does snprintf guarantee null termination?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
05-16-2008
shamrock
Registered User
Join Date: Oct 2007
Location: USA
Posts: 542
I would rely on the manpage of snprintf() on your system instead of on a certain someone. You can write a small code snippet to verify if snprintf() provides that functionality.
shamrock
View Public Profile
Find all posts by shamrock