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

int nacl::Close ( Handle  handle  ) 

Closes a NaCl descriptor created by the NaCl IMC primitives. Note NaCl descriptors must be explicitly closed by Close(). Otherwise, the resources of the underlining operating system will not be released correctly.

Parameters:
handle The NaCl descriptor to close.
Returns:
0 on success, and -1 on failure.

Definition at line 97 of file nacl_imc.cc.

References close().

                         {
  return close(handle);
}


Generated by  Doxygen 1.6.0   Back to index