xserver/os
Peter Hutterer cde7cbe967 os: add support for %f to pnprintf
This is the lazy man's %f support. Print the decimal part of the number,
then append a decimal point, then print the first two digits of the
fractional part. So %f in sigsafe printing is really %.2f.

No boundary checks in place here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
2013-01-17 17:17:41 +10:00
..
.gitignore
Makefile.am
WaitFor.c
access.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
auth.c
backtrace.c
client.c
connection.c
io.c
log.c os: add support for %f to pnprintf 2013-01-17 17:17:41 +10:00
mitauth.c
oscolor.c
osdep.h
osinit.c os/osinit.c: no getpgrp() and setpgrp() on WIN32 2012-11-28 14:44:11 +00:00
rpcauth.c
strcasecmp.c
strcasestr.c
strlcat.c
strlcpy.c
strndup.c
utils.c os: add support for %f to pnprintf 2013-01-17 17:17:41 +10:00
xdmauth.c
xdmcp.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
xprintf.c
xsha1.c os: Add libnettle as a choice of SHA1 implementation 2012-11-05 13:34:18 -06:00
xstrans.c