diff options
Diffstat (limited to 'doc/ReferenceManual')
-rw-r--r-- | doc/ReferenceManual/UtilReference.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ReferenceManual/UtilReference.tex b/doc/ReferenceManual/UtilReference.tex index 6b24b5ac..76ca4678 100644 --- a/doc/ReferenceManual/UtilReference.tex +++ b/doc/ReferenceManual/UtilReference.tex @@ -438,17 +438,17 @@ int len; char buffer[N_BUFFER]; /* safely format the values into the buffer */ -snprintf(buffer, N_BUFFER, - "values are c='%c' i=%d d=%g s=\"%s\"", - c, i, d, s); +Util_snprintf(buffer, N_BUFFER, + "values are c='%c' i=%d d=%g s=\"%s\"", + c, i, d, s); /* * same as above example, but now explicitly check for the output * being truncated due to the buffer being too small */ -const int len = snprintf(buffer, N_BUFFER, - "values are c='%c' i=%d d=%g s=\"%s\"", - c, i, d, s); +const int len = Util_snprintf(buffer, N_BUFFER, + "values are c='%c' i=%d d=%g s=\"%s\"", + c, i, d, s); if (len >= N_BUFFER) { /* |