repo.or.cz
/
pulseaudio-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Modification of the thread-mainloop doc to ensure that nobody frees the api as it...
[pulseaudio-mirror.git]
/
src
/
tests
/
close-test.c
blob
7a6fec5730aa00df5d4803199f090e412b50c348
1
#ifdef HAVE_CONFIG_H
2
#include <config.h>
3
#endif
4
5
#include <unistd.h>
6
#include <fcntl.h>
7
8
#include <pulsecore/core-util.h>
9
10
int
main
(
int
argc
,
char
*
argv
[]) {
11
12
open
(
"/dev/null"
,
O_RDONLY
);
13
open
(
"/dev/null"
,
O_RDONLY
);
14
open
(
"/dev/null"
,
O_RDONLY
);
15
open
(
"/dev/null"
,
O_RDONLY
);
16
17
pa_close_all
(
5
, -
1
);
18
19
return
0
;
20
}