xserver-multidpi/os
Daniel Kurtz 5c2e2a164d 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>
2012-05-03 14:59:23 +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-21 13:54:42 -07:00
auth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
backtrace.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
client.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
connection.c os: Add -displayfd option 2012-05-01 11:36:30 +10:00
io.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
log.c os/log: trivial cleanups 2012-05-03 14:59:23 +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-21 13:54:42 -07:00
oscolor.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
osdep.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
osinit.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rpcauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strcasecmp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strcasestr.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strlcat.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strlcpy.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strndup.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
utils.c os: Add -displayfd option 2012-05-01 11:36:30 +10:00
WaitFor.c os: make timers signal-safe 2012-05-01 11:36:35 +10:00
xdmauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xdmcp.c Change lastDeviceIdleTime to be per-device 2012-03-22 13:12:56 +10:00
xprintf.c os/xprintf: add Xvscnprintf and Xscnprintf 2012-05-03 14:59:23 +10:00
xsha1.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xstrans.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00