summaryrefslogtreecommitdiffstats
path: root/man/sd_event_add_inotify.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* man: use same version in public and system ident.David Tardon2023-12-251-1/+1
|
* man: use <simplelist> for 'See also' sectionsDavid Tardon2023-12-231-17/+17
| | | | | This is just a slight markup improvement; there should be no difference in rendering.
* man: condense version information for functionsAbderrahim Kitouni2023-09-191-2/+3
| | | | Use a more compact form like 'a, b, and c were added in version x'
* man: add version information for functionsAbderrahim Kitouni2023-09-041-0/+7
|
* man: add version infoAbderrahim Kitouni2023-08-291-2/+6
| | | | | | | | This tries to add information about when each option was added. It goes back to version 183. The version info is included from a separate file to allow generating it, which would allow more control on the formatting of the final output.
* sd-event: store and compare per-module static origin idLuca Boccassi2023-04-251-1/+1
| | | | | | | | | sd-event objects use hashmaps, which use module-global state, so it is not safe to pass a sd-event object created by a module instance to another module instance (e.g.: when two libraries static linking sd-event are pulled in a single process). Initialize a random per-module origin id and store it in the object, and compare it when entering a public API, and error out if they don't match, together with the PID.
* tree-wide: fix typoYu Watanabe2022-01-061-1/+1
|
* man: add better descriptions of what event handlers doZbigniew Jędrzejewski-Szmek2022-01-051-17/+24
| | | | | The meaning of the return value, the default handlers, and loop exiting are now described.
* sd-event: add sd_event_add_inotify_fd() callLennart Poettering2021-11-091-0/+29
| | | | | sd_event_add_inotify_fd() is like sd_event_add_inotify(), but takes an fd to an inode instead of a path, and is hence a ton nicer.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* sd-event: support callback=NULL in IO/child/inotify/defer event sources, tooLennart Poettering2020-10-071-3/+10
| | | | | | | | | | | | | | | | | Also, document this functionality more prominently, including with a reference from sd_event_exit(). This is mostly to make things complete, as previously we supported NULL callbacks only in _add_time() and _add_signal(). However, I think this makes snese for IO event sources too (think: when some fd such as a pipe end sees SIGHUP or so, exit), as well as defer or post event sources (i.e. exit once we got nothing else to do). This also adds support for inotify event sources, simply to complete things (I can't see the immediate use, but maybe someone else comes up with it). The only event source type that doesn't allow callback=NULL now are exit callbacks, but for them they make little sense, as the event loop is exiting then anyway.
* man: fix typosSamanta Navarro2020-10-031-1/+1
|
* man: document sd_event_source_set_floating()Lennart Poettering2019-11-281-0/+1
| | | | | | Let's make sure we get back to 100% man page documentation coverage of our sd-event APIs. We are bad enough at the others, let's get these ones right at least.
* man: make separate "Errors" sections subsection of "Return value"Zbigniew Jędrzejewski-Szmek2019-03-211-27/+27
| | | | | | | | Logically, this is better, because we're describing a subset of possible return values. Visually this also looks quite good because groff renders refsect2 much less prominently. Also rewrap things, add <constant> in various places, fix some typos.
* man: use same header for all filesZbigniew Jędrzejewski-Szmek2019-03-141-2/+2
| | | | | | | The "include" files had type "book" for some raeason. I don't think this is meaningful. Let's just use the same everywhere. $ perl -i -0pe 's^..DOCTYPE (book|refentry) PUBLIC "-//OASIS//DTD DocBook XML V4.[25]//EN"\s+"http^<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"\n "http^gms' man/*.xml
* man: standarize on one-line license headerZbigniew Jędrzejewski-Szmek2019-03-141-1/+0
| | | | | | No need to waste space, and uniformity is good. $ perl -i -0pe 's|\n+<!--\s*SPDX-License-Identifier: LGPL-2.1..\s*-->|\n<!-- SPDX-License-Identifier: LGPL-2.1+ -->|gms' man/*.xml
* man: drop mode line in file headersZbigniew Jędrzejewski-Szmek2018-07-031-1/+1
| | | | | This is already included in .dir-locals, so we don't need it in the files themselves.
* man: add example for sd_event_add_inotifyZbigniew Jędrzejewski-Szmek2018-06-061-0/+10
|
* man: document the new sd_event_add_inotify() callLennart Poettering2018-06-061-0/+181