X7ROOT File Manager
Current Path:
/lib64/perl5/CORE
lib64
/
perl5
/
CORE
/
ðŸ“
..
📄
EXTERN.h
(1.67 KB)
📄
INTERN.h
(1.24 KB)
📄
XSUB.h
(23.87 KB)
📄
av.h
(3.24 KB)
📄
bitcount.h
(850 B)
📄
charclass_invlists.h
(949.68 KB)
📄
config.h
(163.48 KB)
📄
cop.h
(38.61 KB)
📄
cv.h
(11.76 KB)
📄
dosish.h
(5.37 KB)
📄
dquote_inline.h
(1.8 KB)
📄
ebcdic_tables.h
(29.16 KB)
📄
embed.h
(95.07 KB)
📄
embedvar.h
(18.47 KB)
📄
fakesdio.h
(3.14 KB)
📄
feature.h
(4.8 KB)
📄
form.h
(1.43 KB)
📄
git_version.h
(357 B)
📄
gv.h
(10.46 KB)
📄
handy.h
(120.46 KB)
📄
hv.h
(24.97 KB)
📄
hv_func.h
(13.1 KB)
📄
inline.h
(45.39 KB)
📄
intrpvar.h
(28.79 KB)
📄
invlist_inline.h
(2.69 KB)
📄
iperlsys.h
(47.66 KB)
📄
keywords.h
(6.43 KB)
📄
l1_char_class_tab.h
(123.94 KB)
📄
libperl.so
(2.08 MB)
📄
malloc_ctl.h
(1.48 KB)
📄
metaconfig.h
(674 B)
📄
mg.h
(2.94 KB)
📄
mg_data.h
(4.81 KB)
📄
mg_raw.h
(4.16 KB)
📄
mg_vtable.h
(9.12 KB)
📄
mydtrace.h
(1.65 KB)
📄
nostdio.h
(3.31 KB)
📄
op.h
(35.57 KB)
📄
op_reg_common.h
(5.77 KB)
📄
opcode.h
(89.73 KB)
📄
opnames.h
(8.63 KB)
📄
overload.h
(3.2 KB)
📄
pad.h
(16.84 KB)
📄
parser.h
(6.75 KB)
📄
patchlevel.h
(9.67 KB)
📄
perl.h
(237.54 KB)
📄
perlapi.h
(5.73 KB)
📄
perldtrace.h
(3.22 KB)
📄
perlio.h
(9.24 KB)
📄
perliol.h
(13.44 KB)
📄
perlsdio.h
(527 B)
📄
perlvars.h
(9.46 KB)
📄
perly.h
(4.27 KB)
📄
pp.h
(26.93 KB)
📄
pp_proto.h
(11.8 KB)
📄
proto.h
(240.98 KB)
📄
reentr.h
(76.44 KB)
📄
regcharclass.h
(141.19 KB)
📄
regcomp.h
(46.68 KB)
📄
regexp.h
(33.57 KB)
📄
regnodes.h
(34.99 KB)
📄
scope.h
(11.63 KB)
📄
sv.h
(82.28 KB)
📄
thread.h
(11.73 KB)
📄
time64.h
(1.54 KB)
📄
time64_config.h
(1.98 KB)
📄
uconfig.h
(163.21 KB)
📄
unicode_constants.h
(7.8 KB)
📄
unixish.h
(4.99 KB)
📄
utf8.h
(57.73 KB)
📄
utfebcdic.h
(65.72 KB)
📄
util.h
(9.38 KB)
📄
uudmap.h
(904 B)
📄
vutil.h
(7.29 KB)
📄
warnings.h
(7.63 KB)
Editing: perlio.h
/* perlio.h * * Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, * 2004, 2005, 2006, 2007, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * */ #ifndef _PERLIO_H #define _PERLIO_H /* Interface for perl to IO functions. There is a hierarchy of Configure determined #define controls: USE_STDIO - No longer available via Configure. Formerly forced PerlIO_xxx() to be #define-d onto stdio functions. Now generates compile-time error. USE_PERLIO - The primary Configure variable that enables PerlIO. PerlIO_xxx() are real functions defined in perlio.c which implement extra functionality required for utf8 support. */ #ifndef USE_PERLIO # define USE_STDIO #endif #ifdef USE_STDIO # error "stdio is no longer supported as the default base layer -- use perlio." #endif /* -------------------- End of Configure controls ---------------------------- */ /* * Although we may not want stdio to be used including <stdio.h> here * avoids issues where stdio.h has strange side effects */ #include <stdio.h> #if defined(USE_64_BIT_STDIO) && defined(HAS_FTELLO) && !defined(USE_FTELL64) #define ftell ftello #endif #if defined(USE_64_BIT_STDIO) && defined(HAS_FSEEKO) && !defined(USE_FSEEK64) #define fseek fseeko #endif /* BS2000 includes are sometimes a bit non standard :-( */ #if defined(POSIX_BC) && defined(O_BINARY) && !defined(O_TEXT) #undef O_BINARY #endif #ifndef PerlIO /* ----------- PerlIO implementation ---------- */ /* PerlIO not #define-d to something else - define the implementation */ typedef struct _PerlIO PerlIOl; typedef struct _PerlIO_funcs PerlIO_funcs; typedef PerlIOl *PerlIO; #define PerlIO PerlIO #define PERLIO_LAYERS 1 /* PERLIO_FUNCS_CONST is now on by default for efficiency, PERLIO_FUNCS_CONST can be removed 1 day once stable & then PerlIO vtables are permanently RO */ #ifdef PERLIO_FUNCS_CONST #define PERLIO_FUNCS_DECL(funcs) const PerlIO_funcs funcs #define PERLIO_FUNCS_CAST(funcs) (PerlIO_funcs*)(funcs) #else #define PERLIO_FUNCS_DECL(funcs) PerlIO_funcs funcs #define PERLIO_FUNCS_CAST(funcs) (funcs) #endif PERL_CALLCONV void PerlIO_define_layer(pTHX_ PerlIO_funcs *tab); PERL_CALLCONV PerlIO_funcs *PerlIO_find_layer(pTHX_ const char *name, STRLEN len, int load); PERL_CALLCONV PerlIO *PerlIO_push(pTHX_ PerlIO *f, PERLIO_FUNCS_DECL(*tab), const char *mode, SV *arg); PERL_CALLCONV void PerlIO_pop(pTHX_ PerlIO *f); PERL_CALLCONV AV* PerlIO_get_layers(pTHX_ PerlIO *f); PERL_CALLCONV void PerlIO_clone(pTHX_ PerlInterpreter *proto, CLONE_PARAMS *param); #endif /* PerlIO */ /* ----------- End of implementation choices ---------- */ /* We now need to determine what happens if source trys to use stdio. * There are three cases based on PERLIO_NOT_STDIO which XS code * can set how it wants. */ #ifdef PERL_CORE /* Make a choice for perl core code - currently this is set to try and catch lingering raw stdio calls. This is a known issue with some non UNIX ports which still use "native" stdio features. */ # ifndef PERLIO_NOT_STDIO # define PERLIO_NOT_STDIO 1 # endif #else # ifndef PERLIO_NOT_STDIO # define PERLIO_NOT_STDIO 0 # endif #endif #ifdef PERLIO_NOT_STDIO #if PERLIO_NOT_STDIO /* * PERLIO_NOT_STDIO #define'd as 1 * Case 1: Strong denial of stdio - make all stdio calls (we can think of) errors */ #include "nostdio.h" #else /* if PERLIO_NOT_STDIO */ /* * PERLIO_NOT_STDIO #define'd as 0 * Case 2: Declares that both PerlIO and stdio can be used */ #endif /* if PERLIO_NOT_STDIO */ #else /* ifdef PERLIO_NOT_STDIO */ /* * PERLIO_NOT_STDIO not defined * Case 3: Try and fake stdio calls as PerlIO calls */ #include "fakesdio.h" #endif /* ifndef PERLIO_NOT_STDIO */ /* ----------- fill in things that have not got #define'd ---------- */ #ifndef Fpos_t #define Fpos_t Off_t #endif #ifndef EOF #define EOF (-1) #endif /* This is to catch case with no stdio */ #ifndef BUFSIZ #define BUFSIZ 1024 #endif /* The default buffer size for the perlio buffering layer */ #ifndef PERLIOBUF_DEFAULT_BUFSIZ #define PERLIOBUF_DEFAULT_BUFSIZ (BUFSIZ > 8192 ? BUFSIZ : 8192) #endif #ifndef SEEK_SET #define SEEK_SET 0 #endif #ifndef SEEK_CUR #define SEEK_CUR 1 #endif #ifndef SEEK_END #define SEEK_END 2 #endif #define PERLIO_DUP_CLONE 1 #define PERLIO_DUP_FD 2 /* --------------------- Now prototypes for functions --------------- */ START_EXTERN_C #ifndef __attribute__format__ # ifdef HASATTRIBUTE_FORMAT # define __attribute__format__(x,y,z) __attribute__((format(x,y,z))) # else # define __attribute__format__(x,y,z) # endif #endif #ifndef PerlIO_init PERL_CALLCONV void PerlIO_init(pTHX); #endif #ifndef PerlIO_stdoutf PERL_CALLCONV int PerlIO_stdoutf(const char *, ...) __attribute__format__(__printf__, 1, 2); #endif #ifndef PerlIO_puts PERL_CALLCONV int PerlIO_puts(PerlIO *, const char *); #endif #ifndef PerlIO_open PERL_CALLCONV PerlIO *PerlIO_open(const char *, const char *); #endif #ifndef PerlIO_openn PERL_CALLCONV PerlIO *PerlIO_openn(pTHX_ const char *layers, const char *mode, int fd, int imode, int perm, PerlIO *old, int narg, SV **arg); #endif #ifndef PerlIO_eof PERL_CALLCONV int PerlIO_eof(PerlIO *); #endif #ifndef PerlIO_error PERL_CALLCONV int PerlIO_error(PerlIO *); #endif #ifndef PerlIO_clearerr PERL_CALLCONV void PerlIO_clearerr(PerlIO *); #endif #ifndef PerlIO_getc PERL_CALLCONV int PerlIO_getc(PerlIO *); #endif #ifndef PerlIO_putc PERL_CALLCONV int PerlIO_putc(PerlIO *, int); #endif #ifndef PerlIO_ungetc PERL_CALLCONV int PerlIO_ungetc(PerlIO *, int); #endif #ifndef PerlIO_fdopen PERL_CALLCONV PerlIO *PerlIO_fdopen(int, const char *); #endif #ifndef PerlIO_importFILE PERL_CALLCONV PerlIO *PerlIO_importFILE(FILE *, const char *); #endif #ifndef PerlIO_exportFILE PERL_CALLCONV FILE *PerlIO_exportFILE(PerlIO *, const char *); #endif #ifndef PerlIO_findFILE PERL_CALLCONV FILE *PerlIO_findFILE(PerlIO *); #endif #ifndef PerlIO_releaseFILE PERL_CALLCONV void PerlIO_releaseFILE(PerlIO *, FILE *); #endif #ifndef PerlIO_read PERL_CALLCONV SSize_t PerlIO_read(PerlIO *, void *, Size_t); #endif #ifndef PerlIO_unread PERL_CALLCONV SSize_t PerlIO_unread(PerlIO *, const void *, Size_t); #endif #ifndef PerlIO_write PERL_CALLCONV SSize_t PerlIO_write(PerlIO *, const void *, Size_t); #endif #ifndef PerlIO_setlinebuf PERL_CALLCONV void PerlIO_setlinebuf(PerlIO *); #endif #ifndef PerlIO_printf PERL_CALLCONV int PerlIO_printf(PerlIO *, const char *, ...) __attribute__format__(__printf__, 2, 3); #endif #ifndef PerlIO_vprintf PERL_CALLCONV int PerlIO_vprintf(PerlIO *, const char *, va_list); #endif #ifndef PerlIO_tell PERL_CALLCONV Off_t PerlIO_tell(PerlIO *); #endif #ifndef PerlIO_seek PERL_CALLCONV int PerlIO_seek(PerlIO *, Off_t, int); #endif #ifndef PerlIO_rewind PERL_CALLCONV void PerlIO_rewind(PerlIO *); #endif #ifndef PerlIO_has_base PERL_CALLCONV int PerlIO_has_base(PerlIO *); #endif #ifndef PerlIO_has_cntptr PERL_CALLCONV int PerlIO_has_cntptr(PerlIO *); #endif #ifndef PerlIO_fast_gets PERL_CALLCONV int PerlIO_fast_gets(PerlIO *); #endif #ifndef PerlIO_canset_cnt PERL_CALLCONV int PerlIO_canset_cnt(PerlIO *); #endif #ifndef PerlIO_get_ptr PERL_CALLCONV STDCHAR *PerlIO_get_ptr(PerlIO *); #endif #ifndef PerlIO_get_cnt PERL_CALLCONV SSize_t PerlIO_get_cnt(PerlIO *); #endif #ifndef PerlIO_set_cnt PERL_CALLCONV void PerlIO_set_cnt(PerlIO *, SSize_t); #endif #ifndef PerlIO_set_ptrcnt PERL_CALLCONV void PerlIO_set_ptrcnt(PerlIO *, STDCHAR *, SSize_t); #endif #ifndef PerlIO_get_base PERL_CALLCONV STDCHAR *PerlIO_get_base(PerlIO *); #endif #ifndef PerlIO_get_bufsiz PERL_CALLCONV SSize_t PerlIO_get_bufsiz(PerlIO *); #endif #ifndef PerlIO_tmpfile PERL_CALLCONV PerlIO *PerlIO_tmpfile(void); #endif #ifndef PerlIO_stdin PERL_CALLCONV PerlIO *PerlIO_stdin(void); #endif #ifndef PerlIO_stdout PERL_CALLCONV PerlIO *PerlIO_stdout(void); #endif #ifndef PerlIO_stderr PERL_CALLCONV PerlIO *PerlIO_stderr(void); #endif #ifndef PerlIO_getpos PERL_CALLCONV int PerlIO_getpos(PerlIO *, SV *); #endif #ifndef PerlIO_setpos PERL_CALLCONV int PerlIO_setpos(PerlIO *, SV *); #endif #ifndef PerlIO_fdupopen PERL_CALLCONV PerlIO *PerlIO_fdupopen(pTHX_ PerlIO *, CLONE_PARAMS *, int); #endif #if !defined(PerlIO_modestr) PERL_CALLCONV char *PerlIO_modestr(PerlIO *, char *buf); #endif #ifndef PerlIO_isutf8 PERL_CALLCONV int PerlIO_isutf8(PerlIO *); #endif #ifndef PerlIO_apply_layers PERL_CALLCONV int PerlIO_apply_layers(pTHX_ PerlIO *f, const char *mode, const char *names); #endif #ifndef PerlIO_binmode PERL_CALLCONV int PerlIO_binmode(pTHX_ PerlIO *f, int iotype, int omode, const char *names); #endif #ifndef PerlIO_getname PERL_CALLCONV char *PerlIO_getname(PerlIO *, char *); #endif PERL_CALLCONV void PerlIO_destruct(pTHX); PERL_CALLCONV int PerlIO_intmode2str(int rawmode, char *mode, int *writing); #ifdef PERLIO_LAYERS PERL_CALLCONV void PerlIO_cleanup(pTHX); PERL_CALLCONV void PerlIO_debug(const char *fmt, ...) __attribute__format__(__printf__, 1, 2); typedef struct PerlIO_list_s PerlIO_list_t; #endif END_EXTERN_C #endif /* _PERLIO_H */ /* * ex: set ts=8 sts=4 sw=4 et: */
Upload File
Create Folder