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

toascii.3p (1984B)


  1. '\" et
  2. .TH TOASCII "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. toascii
  12. \(em translate an integer to a 7-bit ASCII character
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <ctype.h>
  17. .P
  18. int toascii(int \fIc\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fItoascii\fR()
  23. function shall convert its argument into a 7-bit ASCII character.
  24. .SH "RETURN VALUE"
  25. The
  26. \fItoascii\fR()
  27. function shall return the value (\fIc\fP &0x7f).
  28. .SH ERRORS
  29. No errors are returned.
  30. .LP
  31. .IR "The following sections are informative."
  32. .SH EXAMPLES
  33. None.
  34. .SH "APPLICATION USAGE"
  35. The
  36. \fItoascii\fR()
  37. function cannot be used portably in a localized application.
  38. .SH RATIONALE
  39. None.
  40. .SH "FUTURE DIRECTIONS"
  41. The
  42. \fItoascii\fR()
  43. function may be removed in a future version.
  44. .SH "SEE ALSO"
  45. .IR "\fIisascii\fR\^(\|)"
  46. .P
  47. The Base Definitions volume of POSIX.1\(hy2017,
  48. .IR "\fB<ctype.h>\fP"
  49. .\"
  50. .SH COPYRIGHT
  51. Portions of this text are reprinted and reproduced in electronic form
  52. from IEEE Std 1003.1-2017, Standard for Information Technology
  53. -- Portable Operating System Interface (POSIX), The Open Group Base
  54. Specifications Issue 7, 2018 Edition,
  55. Copyright (C) 2018 by the Institute of
  56. Electrical and Electronics Engineers, Inc and The Open Group.
  57. In the event of any discrepancy between this version and the original IEEE and
  58. The Open Group Standard, the original IEEE and The Open Group Standard
  59. is the referee document. The original Standard can be obtained online at
  60. http://www.opengroup.org/unix/online.html .
  61. .PP
  62. Any typographical or formatting errors that appear
  63. in this page are most likely
  64. to have been introduced during the conversion of the source files to
  65. man page format. To report such errors, see
  66. https://www.kernel.org/doc/man-pages/reporting_bugs.html .