Mercurial > libavcodec.hg
comparison utils.c @ 12024:fdafbcef52f5 libavcodec
Fix grammar errors in documentation
author | mru |
---|---|
date | Wed, 30 Jun 2010 15:38:06 +0000 |
parents | 2ae71694d6ae |
children | e8a29b278ebf |
comparison
equal
deleted
inserted
replaced
12023:c7455450364d | 12024:fdafbcef52f5 |
---|---|
1073 } | 1073 } |
1074 | 1074 |
1075 /* Wrapper to work around the lack of mkstemp() on mingw/cygin. | 1075 /* Wrapper to work around the lack of mkstemp() on mingw/cygin. |
1076 * Also, tries to create file in /tmp first, if possible. | 1076 * Also, tries to create file in /tmp first, if possible. |
1077 * *prefix can be a character constant; *filename will be allocated internally. | 1077 * *prefix can be a character constant; *filename will be allocated internally. |
1078 * Returns file descriptor of opened file (or -1 on error) | 1078 * @return file descriptor of opened file (or -1 on error) |
1079 * and opened file name in **filename. */ | 1079 * and opened file name in **filename. */ |
1080 int av_tempfile(char *prefix, char **filename) { | 1080 int av_tempfile(char *prefix, char **filename) { |
1081 int fd=-1; | 1081 int fd=-1; |
1082 #if !HAVE_MKSTEMP | 1082 #if !HAVE_MKSTEMP |
1083 *filename = tempnam(".", prefix); | 1083 *filename = tempnam(".", prefix); |