On Apr 28 11:27, bertrand marquis wrote:
ZXPLESPAC001, Ext a ?crit:
The question is:
- is the behavior on Linux/Solaris normal ? I fact there ain't a '//bin'
only a '/bin',
but even all the shells treat them as representing the same path (BTW 'cd
//bin' on
cygwin/bash doesn't work ...)
Hi,
here is my question/problem (see the example program below):
-//
#include stdio.h
#include sys/types.h
#include sys/stat.h
#include errno.h
static int is_dir(char * dr)
{
struct stat st;
if(stat(dr, st) == -1)
{
perror(stat);
ZXPLESPAC001, Ext a écrit:
Hi,
here is my question/problem (see the example program below):
-//
#include stdio.h
#include sys/types.h
#include sys/stat.h
#include errno.h
static int is_dir(char * dr)
{
struct stat st;
if(stat(dr, st) == -1)
{
3 matches
Mail list logo