logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

iconv_close.3p (2187B)


  1. '\" et
  2. .TH ICONV_CLOSE "3P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. iconv_close
  12. \(em codeset conversion deallocation function
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <iconv.h>
  17. .P
  18. int iconv_close(iconv_t \fIcd\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fIiconv_close\fR()
  23. function shall deallocate the conversion descriptor
  24. .IR cd
  25. and all other associated resources allocated by
  26. \fIiconv_open\fR().
  27. .P
  28. If a file descriptor is used to implement the type
  29. .BR iconv_t ,
  30. that file descriptor shall be closed.
  31. .SH "RETURN VALUE"
  32. Upon successful completion, 0 shall be returned; otherwise, \-1 shall
  33. be returned and
  34. .IR errno
  35. set to indicate the error.
  36. .SH ERRORS
  37. The
  38. \fIiconv_close\fR()
  39. function may fail if:
  40. .TP
  41. .BR EBADF
  42. The conversion descriptor is invalid.
  43. .LP
  44. .IR "The following sections are informative."
  45. .SH EXAMPLES
  46. None.
  47. .SH "APPLICATION USAGE"
  48. None.
  49. .SH RATIONALE
  50. None.
  51. .SH "FUTURE DIRECTIONS"
  52. None.
  53. .SH "SEE ALSO"
  54. .IR "\fIiconv\fR\^(\|)",
  55. .IR "\fIiconv_open\fR\^(\|)"
  56. .P
  57. The Base Definitions volume of POSIX.1\(hy2017,
  58. .IR "\fB<iconv.h>\fP"
  59. .\"
  60. .SH COPYRIGHT
  61. Portions of this text are reprinted and reproduced in electronic form
  62. from IEEE Std 1003.1-2017, Standard for Information Technology
  63. -- Portable Operating System Interface (POSIX), The Open Group Base
  64. Specifications Issue 7, 2018 Edition,
  65. Copyright (C) 2018 by the Institute of
  66. Electrical and Electronics Engineers, Inc and The Open Group.
  67. In the event of any discrepancy between this version and the original IEEE and
  68. The Open Group Standard, the original IEEE and The Open Group Standard
  69. is the referee document. The original Standard can be obtained online at
  70. http://www.opengroup.org/unix/online.html .
  71. .PP
  72. Any typographical or formatting errors that appear
  73. in this page are most likely
  74. to have been introduced during the conversion of the source files to
  75. man page format. To report such errors, see
  76. https://www.kernel.org/doc/man-pages/reporting_bugs.html .