telldir man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

TELLDIR(3C)							   TELLDIR(3C)

NAME
       telldir - current location of a named directory stream

SYNOPSIS
       #include <dirent.h>

       long int telldir(DIR *dirp);

DESCRIPTION
       The telldir() function obtains the current location associated with the
       directory stream specified by dirp.

       If the most recent operation on the directory stream was a seekdir(3C),
       the  directory position returned from the telldir() is the same as that
       supplied as a loc argument for seekdir().

RETURN VALUES
       Upon successful completion, telldir() returns the current  location  of
       the specified directory stream.

ERRORS
       The telldir() function will fail if:

       EOVERFLOW
		    The	 current location of the directory cannot be stored in
		    an object of type long.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Standard	      │
       ├────────────────────┼─────────────────┤
       │MT-Level	    │ Safe	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       opendir(3C), readdir(3C), seekdir(3C), attributes(5), standards(5)

				 Aug 14, 2002			   TELLDIR(3C)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net