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

catclose.3p (2194B)


  1. '\" et
  2. .TH CATCLOSE "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. catclose
  12. \(em close a message catalog descriptor
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <nl_types.h>
  17. .P
  18. int catclose(nl_catd \fIcatd\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fIcatclose\fR()
  23. function shall close the message catalog identified by
  24. .IR catd .
  25. If a file descriptor is used to implement the type
  26. .BR nl_catd ,
  27. that file descriptor shall be closed.
  28. .SH "RETURN VALUE"
  29. Upon successful completion,
  30. \fIcatclose\fR()
  31. shall return 0; otherwise, \-1 shall be returned, and
  32. .IR errno
  33. set to indicate the error.
  34. .SH ERRORS
  35. The
  36. \fIcatclose\fR()
  37. function may fail if:
  38. .TP
  39. .BR EBADF
  40. The catalog descriptor is not valid.
  41. .TP
  42. .BR EINTR
  43. The
  44. \fIcatclose\fR()
  45. function was interrupted by a signal.
  46. .LP
  47. .IR "The following sections are informative."
  48. .SH EXAMPLES
  49. None.
  50. .SH "APPLICATION USAGE"
  51. None.
  52. .SH RATIONALE
  53. None.
  54. .SH "FUTURE DIRECTIONS"
  55. None.
  56. .SH "SEE ALSO"
  57. .IR "\fIcatgets\fR\^(\|)",
  58. .IR "\fIcatopen\fR\^(\|)"
  59. .P
  60. The Base Definitions volume of POSIX.1\(hy2017,
  61. .IR "\fB<nl_types.h>\fP"
  62. .\"
  63. .SH COPYRIGHT
  64. Portions of this text are reprinted and reproduced in electronic form
  65. from IEEE Std 1003.1-2017, Standard for Information Technology
  66. -- Portable Operating System Interface (POSIX), The Open Group Base
  67. Specifications Issue 7, 2018 Edition,
  68. Copyright (C) 2018 by the Institute of
  69. Electrical and Electronics Engineers, Inc and The Open Group.
  70. In the event of any discrepancy between this version and the original IEEE and
  71. The Open Group Standard, the original IEEE and The Open Group Standard
  72. is the referee document. The original Standard can be obtained online at
  73. http://www.opengroup.org/unix/online.html .
  74. .PP
  75. Any typographical or formatting errors that appear
  76. in this page are most likely
  77. to have been introduced during the conversion of the source files to
  78. man page format. To report such errors, see
  79. https://www.kernel.org/doc/man-pages/reporting_bugs.html .