- _\bO_\bp_\be_\bn_\bd_\bi_\br opens the directory named by _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be and associates
- a _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by _\bs_\bt_\br_\be_\ba_\bm with it. _\bO_\bp_\be_\bn_\bd_\bi_\br returns a pointer to be
- used to identify the _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by _\bs_\bt_\br_\be_\ba_\bm in subsequent opera-
- tions. The pointer N\bNU\bUL\bLL\bL is returned if _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be cannot be
- accessed, or if it cannot _\bm_\ba_\bl_\bl_\bo_\bc(3) enough memory to hold
- the whole thing.
-
- _\bR_\be_\ba_\bd_\bd_\bi_\br returns a pointer to the next directory entry. It
- returns N\bNU\bUL\bLL\bL upon reaching the end of the directory or
- detecting an invalid _\bs_\be_\be_\bk_\bd_\bi_\br operation.
-
- _\bT_\be_\bl_\bl_\bd_\bi_\br returns the current location associated with the
- named _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by _\bs_\bt_\br_\be_\ba_\bm.
-
- _\bS_\be_\be_\bk_\bd_\bi_\br sets the position of the next _\br_\be_\ba_\bd_\bd_\bi_\br operation on
- the _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by _\bs_\bt_\br_\be_\ba_\bm. The new position reverts to the one
- associated with the _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by _\bs_\bt_\br_\be_\ba_\bm when the _\bt_\be_\bl_\bl_\bd_\bi_\br opera-
- tion was performed. Values returned by _\bt_\be_\bl_\bl_\bd_\bi_\br are good
- only for the lifetime of the DIR pointer from which they are
- derived. If the directory is closed and then reopened, the
- _\bt_\be_\bl_\bl_\bd_\bi_\br value may be invalidated due to undetected directory
- compaction. It is safe to use a previous _\bt_\be_\bl_\bl_\bd_\bi_\br value
-
-
-
-Printed 7/27/90 June 1
-
-
+ The o\bop\bpe\ben\bnd\bdi\bir\br() function opens the directory named by _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be, associates
+ a _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by _\bs_\bt_\br_\be_\ba_\bm with it and returns a pointer to be used to identify
+ the _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by _\bs_\bt_\br_\be_\ba_\bm in subsequent operations. The pointer NULL is re-
+ turned if _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be cannot be accessed, or if it cannot malloc(3) enough
+ memory to hold the whole thing.