close function

void close(
  1. int fd
)

Implementation

void close(int fd) {
  final result = _close(fd);
  if (result < 0) {
    throw Exception('close : ${lastError()} : ${fd}');
  }
}