Top "Opendir" questions

A PHP, PERL, C library function for opening a directory handle.

Open directory using C

I am accepting the path through command line input. When I do dir=opendir(args[1]); it doesn' t enter the …

c opendir
C faster way to check if a directory exists

I'm using opendir function to check if a directory exists. The problem is that I'm using it on a massive …

c performance mkdir opendir
PHP opendir() to list folders only

I would like to use opendir() to list only the folders in a particular folder (i.e. /www/site/). I …

php opendir
How can I list all files in a directory sorted alphabetically using PHP?

I'm using the following PHP code to list all files and folders under the current directory: <?php $dirname = "."; $dir = …

php sorting directory readdir opendir
Checking if a dir. entry returned by readdir is a directory, link or file. dent->d_type isn't showing the type

I am making a program which is run in a Linux shell, and accepts an argument (a directory), and displays …

c linux readdir opendir dirent.h
Opendir error; No such file or directory found

This may be a very easy question. I am working in directory /mobile and I have photos in a directory /…

php image src opendir
C: Checking the type of a file. Using lstat() and macros doesn't work

I use opendir() to open a directory and then readdir() and lstat() to get the stats of each file in …

c file-type stat readdir opendir
Accessing Directories in C

The program is to open a directory and to display the name of the files... i.e if there is …

c file directory opendir dirent.h
Get filenames of images in a directory

What should be done to get titles (eg abc.jpg) of images from a folder/directory using PHP and storing …

php opendir
PHP permission Denied using unlink and rmdir

i've been trying to figure out why my Php code is giving me a annoying error. I've tried countless functions …

php unlink opendir rmdir