xserver/os
Daniel Kurtz 8998037f18 os/xprintf: add Xvscnprintf and Xscnprintf
Normal snprintf() usually returns the number of bytes that would have been
written into a buffer had the buffer been long enough.

The scnprintf() variants return the actual number of bytes written,
excluding the trailing '\0'.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 5c2e2a164d)
2012-05-14 15:54:02 +10:00
..
.gitignore dix and os: gitignore dix.O and os.O 2011-09-23 17:14:47 -07:00
access.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
auth.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
backtrace.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
client.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
connection.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
io.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
log.c os/log: trivial cleanups 2012-05-14 15:54:00 +10:00
Makefile.am Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
mitauth.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
oscolor.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
osdep.h Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
osinit.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
rpcauth.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
strcasecmp.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
strcasestr.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
strlcat.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
strlcpy.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
strndup.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
utils.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
WaitFor.c os: make timers signal-safe 2012-05-03 11:23:52 +10:00
xdmauth.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xdmcp.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xprintf.c os/xprintf: add Xvscnprintf and Xscnprintf 2012-05-14 15:54:02 +10:00
xsha1.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xstrans.c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00