Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to get each file name from a Unix dir in filename (not I-node) order.

Re: How to get each file name from a Unix dir in filename (not I-node) order.

From: dimer[0] <blow_at_me.com>
Date: 1998/09/18
Message-ID: <zrrM1.2869$kz3.421673@newscene.newscene.com>#1/1

>I have a program (Pro*C) that loops through each file in a directory,
>but I want it get each file in filename order.
>
>I find that the program below does it in i-node order (due to the way
>"readdir" works), which is usually but not always the same as filename
>order.

Howwabout a popen() call to `ls`? Received on Fri Sep 18 1998 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US