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

telldir.3p (2205B)


  1. '\" et
  2. .TH TELLDIR "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. telldir
  12. \(em current location of a named directory stream
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <dirent.h>
  17. .P
  18. long telldir(DIR *\fIdirp\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The
  22. \fItelldir\fR()
  23. function shall obtain the current location associated with the
  24. directory stream specified by
  25. .IR dirp .
  26. .P
  27. If the most recent operation on the directory stream was a
  28. \fIseekdir\fR(),
  29. the directory position returned from the
  30. \fItelldir\fR()
  31. shall be the same as that supplied as a
  32. .IR loc
  33. argument for
  34. \fIseekdir\fR().
  35. .SH "RETURN VALUE"
  36. Upon successful completion,
  37. \fItelldir\fR()
  38. shall return the current location of the specified directory stream.
  39. .SH ERRORS
  40. No errors are defined.
  41. .LP
  42. .IR "The following sections are informative."
  43. .SH EXAMPLES
  44. None.
  45. .SH "APPLICATION USAGE"
  46. None.
  47. .SH RATIONALE
  48. None.
  49. .SH "FUTURE DIRECTIONS"
  50. None.
  51. .SH "SEE ALSO"
  52. .IR "\fIfdopendir\fR\^(\|)",
  53. .IR "\fIreaddir\fR\^(\|)",
  54. .IR "\fIseekdir\fR\^(\|)"
  55. .P
  56. The Base Definitions volume of POSIX.1\(hy2017,
  57. .IR "\fB<dirent.h>\fP"
  58. .\"
  59. .SH COPYRIGHT
  60. Portions of this text are reprinted and reproduced in electronic form
  61. from IEEE Std 1003.1-2017, Standard for Information Technology
  62. -- Portable Operating System Interface (POSIX), The Open Group Base
  63. Specifications Issue 7, 2018 Edition,
  64. Copyright (C) 2018 by the Institute of
  65. Electrical and Electronics Engineers, Inc and The Open Group.
  66. In the event of any discrepancy between this version and the original IEEE and
  67. The Open Group Standard, the original IEEE and The Open Group Standard
  68. is the referee document. The original Standard can be obtained online at
  69. http://www.opengroup.org/unix/online.html .
  70. .PP
  71. Any typographical or formatting errors that appear
  72. in this page are most likely
  73. to have been introduced during the conversion of the source files to
  74. man page format. To report such errors, see
  75. https://www.kernel.org/doc/man-pages/reporting_bugs.html .