Systemd/src/libudev
Dan Streetman a9d99b32a3 libudev-util: change util_replace_whitespace to return number of chars in dest
Instead of returning 0, which is unhelpful, return the number of chars
copied into the dest string.  This allows callers that care about that
to easily use it, instead of having to calculate the strlen.

No current users of the function check the return value, so this does not
break any existing code; it is used in the following patch.
2017-01-03 17:09:46 -05:00
..
.gitignore update .gitignore 2012-04-13 21:58:01 +02:00
libudev-device-internal.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
libudev-device-private.c libudev: simplify udev_device_ensure_usec_initialized a bit 2015-12-07 00:44:14 -05:00
libudev-device.c libudev: fix typo in comment 2016-08-19 11:43:58 +10:00
libudev-enumerate.c tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
libudev-hwdb.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
libudev-list.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
libudev-monitor.c Rename formats-util.h to format-util.h 2016-11-07 10:15:08 -05:00
libudev-private.h tree-wide: sort includes in *.h 2015-11-18 23:09:02 +01:00
libudev-queue.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
libudev-util.c libudev-util: change util_replace_whitespace to return number of chars in dest 2017-01-03 17:09:46 -05:00
libudev.c libudev: set errno if udev_new() fails 2016-12-07 18:38:40 +01:00
libudev.h include sys/sysmacros.h in more places 2016-03-14 23:29:10 -04:00
libudev.pc.in Adjust pkgconfig files to point at rootlibdir (#4584) 2016-11-08 09:36:41 +01:00
libudev.sym libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd() 2014-08-30 11:39:47 +02:00
Makefile build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00