diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-07 23:04:42 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-07 23:04:42 +0200 |
commit | f712894dd4c2a2d8e374de133b7ed854e203fa96 (patch) | |
tree | 8dc6b230aced731f1cd5f0e7fb7372edb45b9b64 /libudev/libudev-monitor.c | |
parent | d0d7b8d08539579b4dfee0ff9d0a0457720c7eb5 (diff) |
libudev: add documentation for recently added functions
Diffstat (limited to 'libudev/libudev-monitor.c')
-rw-r--r-- | libudev/libudev-monitor.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libudev/libudev-monitor.c b/libudev/libudev-monitor.c index 24e8aead26..b3e5d5f348 100644 --- a/libudev/libudev-monitor.c +++ b/libudev/libudev-monitor.c @@ -400,6 +400,16 @@ int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor) return 0; } +/** + * udev_monitor_set_receive_buffer_size: + * @udev_monitor: the monitor which should receive events + * @size: the size in bytes + * + * Set the size of the kernel socket buffer. This call needs the + * appropriate privileges to succeed. + * + * Returns: 0 on success, otherwise -1 on error. + */ int udev_monitor_set_receive_buffer_size(struct udev_monitor *udev_monitor, int size) { if (udev_monitor == NULL) |