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

int close ( int  desc  ) 

Closes the specified file descriptor.

desc The file descriptor to be closed.
Open returns zero on success. On error, it returns -1 and sets errno appropriately.

Definition at line 17 of file close.c.

References close().

Referenced by UnicodeSet::applyPropertyPattern(), nacl::BoundSocket(), nacl::Close(), close(), evdns_resolv_conf_parse(), pthread_cond_destroy(), pthread_mutex_destroy(), and xvid_encode_init().

  int retval = NACL_SYSCALL(close)(desc);
  if (retval < 0) {
    errno = -retval;
    return -1;
  return 0;

Generated by  Doxygen 1.6.0   Back to index