diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-13 16:46:11 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-13 16:46:11 +0000 |
commit | acf0e147c25d93d9434bb279ae422cb4e62c1f7e (patch) | |
tree | ef923e4cec52fe1739f035d6a29f7f4ffa021c16 /src/player.h | |
parent | 00c25b772edae62965b1615125b057f5986d18c2 (diff) | |
download | mpd-acf0e147c25d93d9434bb279ae422cb4e62c1f7e.tar.gz mpd-acf0e147c25d93d9434bb279ae422cb4e62c1f7e.tar.xz mpd-acf0e147c25d93d9434bb279ae422cb4e62c1f7e.zip |
when doing signal functions (like sigaction) make sure it wasn't interrupted by a signal (errno==EINTR)
git-svn-id: https://svn.musicpd.org/mpd/trunk@729 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 7bfd1e559..8c02b8f34 100644 --- a/src/player.h +++ b/src/player.h @@ -79,6 +79,8 @@ typedef struct _PlayerControl { volatile int decode_pid; } PlayerControl; +void clearPlayerPid(); + void player_sigChldHandler(int pid, int status); int playerPlay(FILE * fp, char * utf8file); |