Bug 5345
Summary: | vsnprintf error | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | spock |
Component: | man-pages | Assignee: | Cristian Gafton <gafton> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-10-05 06:08:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
spock
1999-09-24 08:30:24 UTC
The man page that I have states: RETURN VALUE If the output was truncated, the return value is -1, otherwise it is the number of characters stored, not including the terminating null. (Thus until glibc 2.0.6. Since glibc 2.1 these functions return the number of characters (excluding the trailing null) which would have been written to the final string if enough space had been available.) Thus, the behavior (as mandated by Single Unix Specification ver 2) is documented also in the man page. |