chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add SHELL=bash debian/rules for benefit of systems with rubbish default
[disorder]
/
doc
/
disorder.3
diff --git
a/doc/disorder.3
b/doc/disorder.3
index 5bd10b3483139a4ed0f9e07afa187747de2837dd..2b71bf90ad4ed15daa60e7e500be2e88559d3382 100644
(file)
--- a/
doc/disorder.3
+++ b/
doc/disorder.3
@@
-146,7
+146,7
@@
If the track or key are not found a null pointer is returned.
.IP
This function sets the value of \fBkey\fR for \fBtrack\fR to
\fBvalue\fR.
.IP
This function sets the value of \fBkey\fR for \fBtrack\fR to
\fBvalue\fR.
-On success, 0 is returned; on error, -1 is returned.
+On success, 0 is returned; on error,
\
-1 is returned.
.IP
If \fBvalue\fR is a null pointer then the preference is deleted.
.IP
.IP
If \fBvalue\fR is a null pointer then the preference is deleted.
.IP
@@
-292,7
+292,7
@@
match them back up to the right collection to call
.fi
.IP
Check whether file \fBpath\fR under \fBroot\fR still exists.
.fi
.IP
Check whether file \fBpath\fR under \fBroot\fR still exists.
-Should return 1 if it exists, 0 if it does not and -1 on error.
+Should return 1 if it exists, 0 if it does not and
\
-1 on error.
This is run in the main server process.
.PP
Both scan and recheck are executed inside a subprocess, so it will not
This is run in the main server process.
.PP
Both scan and recheck are executed inside a subprocess, so it will not
@@
-392,10
+392,10
@@
This function must never block, as it runs inside the main loop of the
server.
.IP
On success, should return 0 and set \fB*playedp\fR to the number of
server.
.IP
On success, should return 0 and set \fB*playedp\fR to the number of
-seconds played so far of this track, or to -1 if this cannot be
+seconds played so far of this track, or to
\
-1 if this cannot be
determined.
.IP
determined.
.IP
-On error, should return -1.
+On error, should return
\
-1.
.PP
.nf
\fBvoid disorder_play_resume(void *data);
.PP
.nf
\fBvoid disorder_play_resume(void *data);