Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

int stat ( const char *  path,
struct stat *  buf 

Returns information about a file.

path The posix pathname of the file.
buf The struct stat to store the information about the file. Only size (st_size) is valid.
On success, stat returns zero. On error, it returns -1 and sets errno appropriately.

Definition at line 17 of file stat.c.

References stat().

Referenced by evdns_resolv_conf_parse(), and stat().

  int retval = NACL_SYSCALL(stat)(file, st);
  if (retval < 0) {
    errno = -retval;
    return -1;
  return 0;

Generated by  Doxygen 1.6.0   Back to index