Discussion:
Question to XSUB.h
(too old to reply)
Reinhard Pagitsch
2005-09-06 11:18:12 UTC
Permalink
Hello,

In the XSUB.h in my CORE directory I can find defines for PerlDir_*.
Does anyone know if there is a documentation about?

Thank you,
Reinhard
Scott T. Hildreth
2005-09-06 14:08:31 UTC
Permalink
I found them in my install,

i386-freebsd/CORE/iperlsys.h:#define PerlDir_mkdir(name, mode) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_chdir(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rmdir(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_close(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_open(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_read(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rewind(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_seek(dir, loc) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_tell(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapA(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapW(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mkdir(name, mode) Mkdir((name), (mode))
i386-freebsd/CORE/iperlsys.h:# define PerlDir_chdir(n) Chdir((n))
i386-freebsd/CORE/iperlsys.h:# define PerlDir_chdir(name) chdir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rmdir(name) rmdir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_close(dir) closedir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_open(name) opendir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_read(dir) readdir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rewind(dir) rewinddir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_seek(dir, loc) seekdir((dir), (loc))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_tell(dir) telldir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapA(dir) dir
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapW(dir) dir
i386-freebsd/CORE/XSUB.h:# define mkdir PerlDir_mkdir
i386-freebsd/CORE/XSUB.h:# define chdir PerlDir_chdir
i386-freebsd/CORE/XSUB.h:# define rmdir PerlDir_rmdir
i386-freebsd/CORE/XSUB.h:# define closedir PerlDir_close
i386-freebsd/CORE/XSUB.h:# define opendir PerlDir_open
i386-freebsd/CORE/XSUB.h:# define readdir PerlDir_read
i386-freebsd/CORE/XSUB.h:# define rewinddir PerlDir_rewind
i386-freebsd/CORE/XSUB.h:# define seekdir PerlDir_seek
i386-freebsd/CORE/XSUB.h:# define telldir PerlDir_tell
Post by Reinhard Pagitsch
Hello,
In the XSUB.h in my CORE directory I can find defines for PerlDir_*.
Does anyone know if there is a documentation about?
Thank you,
Reinhard
--
Scott T. Hildreth <***@scotth.emsphone.com>
Reinhard Pagitsch
2005-09-06 14:25:02 UTC
Permalink
Hello Scott,

I know, but shouldn't there a documentation in the pod that these XS
functions are exists?
As I found out they are the same as the C functions *dir(), isn't it?

regards,
Reinhard
Post by Scott T. Hildreth
I found them in my install,
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mkdir(name, mode) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_chdir(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rmdir(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_close(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_open(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_read(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rewind(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_seek(dir, loc) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_tell(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapA(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapW(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mkdir(name, mode) Mkdir((name), (mode))
i386-freebsd/CORE/iperlsys.h:# define PerlDir_chdir(n) Chdir((n))
i386-freebsd/CORE/iperlsys.h:# define PerlDir_chdir(name) chdir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rmdir(name) rmdir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_close(dir) closedir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_open(name) opendir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_read(dir) readdir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rewind(dir) rewinddir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_seek(dir, loc) seekdir((dir), (loc))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_tell(dir) telldir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapA(dir) dir
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapW(dir) dir
i386-freebsd/CORE/XSUB.h:# define mkdir PerlDir_mkdir
i386-freebsd/CORE/XSUB.h:# define chdir PerlDir_chdir
i386-freebsd/CORE/XSUB.h:# define rmdir PerlDir_rmdir
i386-freebsd/CORE/XSUB.h:# define closedir PerlDir_close
i386-freebsd/CORE/XSUB.h:# define opendir PerlDir_open
i386-freebsd/CORE/XSUB.h:# define readdir PerlDir_read
i386-freebsd/CORE/XSUB.h:# define rewinddir PerlDir_rewind
i386-freebsd/CORE/XSUB.h:# define seekdir PerlDir_seek
i386-freebsd/CORE/XSUB.h:# define telldir PerlDir_tell
Post by Reinhard Pagitsch
Hello,
In the XSUB.h in my CORE directory I can find defines for PerlDir_*.
Does anyone know if there is a documentation about?
Thank you,
Reinhard
Scott T. Hildreth
2005-09-06 15:40:59 UTC
Permalink
Post by Reinhard Pagitsch
Hello Scott,
I know, but shouldn't there a documentation in the pod that these XS
functions are exists?
As I found out they are the same as the C functions *dir(), isn't it?
I am not sure, but sure looks like it.
Post by Reinhard Pagitsch
regards,
Reinhard
Post by Scott T. Hildreth
I found them in my install,
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mkdir(name, mode) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_chdir(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rmdir(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_close(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_open(name) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_read(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rewind(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_seek(dir, loc) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_tell(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapA(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapW(dir) \
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mkdir(name, mode) Mkdir((name), (mode))
i386-freebsd/CORE/iperlsys.h:# define PerlDir_chdir(n) Chdir((n))
i386-freebsd/CORE/iperlsys.h:# define PerlDir_chdir(name) chdir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rmdir(name) rmdir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_close(dir) closedir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_open(name) opendir((name))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_read(dir) readdir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_rewind(dir) rewinddir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_seek(dir, loc) seekdir((dir), (loc))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_tell(dir) telldir((dir))
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapA(dir) dir
i386-freebsd/CORE/iperlsys.h:#define PerlDir_mapW(dir) dir
i386-freebsd/CORE/XSUB.h:# define mkdir PerlDir_mkdir
i386-freebsd/CORE/XSUB.h:# define chdir PerlDir_chdir
i386-freebsd/CORE/XSUB.h:# define rmdir PerlDir_rmdir
i386-freebsd/CORE/XSUB.h:# define closedir PerlDir_close
i386-freebsd/CORE/XSUB.h:# define opendir PerlDir_open
i386-freebsd/CORE/XSUB.h:# define readdir PerlDir_read
i386-freebsd/CORE/XSUB.h:# define rewinddir PerlDir_rewind
i386-freebsd/CORE/XSUB.h:# define seekdir PerlDir_seek
i386-freebsd/CORE/XSUB.h:# define telldir PerlDir_tell
Post by Reinhard Pagitsch
Hello,
In the XSUB.h in my CORE directory I can find defines for PerlDir_*.
Does anyone know if there is a documentation about?
Thank you,
Reinhard
--
Scott T. Hildreth <***@allantgroup.com>
Loading...