/[path-sandbox]/trunk/libsbutil/sb_close.c
Gentoo

Diff of /trunk/libsbutil/sb_close.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 369 Revision 370
5 * 5 *
6 * Copyright 1999-2008 Gentoo Foundation 6 * Copyright 1999-2008 Gentoo Foundation
7 * Licensed under the GPL-2 7 * Licensed under the GPL-2
8 */ 8 */
9 9
10#include <errno.h> 10#include "headers.h"
11#include <stdio.h>
12#include <sys/stat.h>
13#include <unistd.h>
14#include <fcntl.h>
15
16#include "sbutil.h" 11#include "sbutil.h"
17
18 12
19/* General purpose function to _reliably_ close a file 13/* General purpose function to _reliably_ close a file
20 * 14 *
21 * Returns 0 if successful or negative number on error (and errno set) 15 * Returns 0 if successful or negative number on error (and errno set)
22 */ 16 */

Legend:
Removed from v.369  
changed lines
  Added in v.370

  ViewVC Help
Powered by ViewVC 1.1.20