annotate osdep/strsep.h @ 31169:ac84149bbdaf

Retry reading even if we hit eof before. This allows playing growing files even with a large cache.
author reimar
date Wed, 26 May 2010 18:23:43 +0000
parents 7f7591482564
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30313
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
1 /*
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
2 * strsep implementation for systems that do not have it in libc
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
3 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
4 * This file is part of MPlayer.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
5 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
7 * it under the terms of the GNU General Public License as published by
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
9 * (at your option) any later version.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
10 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
14 * GNU General Public License for more details.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
15 *
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License along
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
19 */
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
20 #ifndef MPLAYER_STRSEP_H
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
21 #define MPLAYER_STRSEP_H
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
22
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
23 #include <string.h>
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
24 #include "config.h"
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
25
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
26 #ifndef HAVE_STRSEP
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
27 char *strsep(char **stringp, const char *delim);
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
28 #endif
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
29
7f7591482564 Add a proper header for our strsep implementation so strsep will
reimar
parents:
diff changeset
30 #endif /* MPLAYER_STRSEP_H */