Re: XForms: Filedirectory in browser

Steve Lamont (
Fri, 26 Sep 97 06:27:56 PDT

To subscribers of the xforms list from (Steve Lamont) :

> I've got the following problem. I want to write the stuff of a
> directory into a Multibrowser. Is it possible to use xforms to read
> out a directory an put the result in a browser ? ...

Sure. Why not?

What is your specific problem?

You can read the contents of a directory using opendir(3), readdir(3),
etc., then use stat(2) or lstat(2) to get the information on each file
in the directory. You can then sort the directory data however you
wish with qsort(2) or your own favorite sort routine.

Refer to the manual pages for more detail.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: