403Webshell
Server IP : 66.29.132.122  /  Your IP : 3.144.121.184
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/src/cxx_supportlib/FileTools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/src/cxx_supportlib/FileTools/LargeFiles.cpp
#ifndef _FILE_OFFSET_BITS
	#define _FILE_OFFSET_BITS 64
#endif
#ifndef _LARGE_FILES
	#define _LARGE_FILES 1
#endif
#ifndef _LARGEFILE_SOURCE
	#define _LARGEFILE_SOURCE
#endif
#ifndef _LARGEFILE64_SOURCE
	#define _LARGEFILE64_SOURCE
#endif

#include <FileTools/LargeFiles.h>
#include <stdio.h>
#include <stdlib.h>

namespace Passenger {


::FILE *
lfs_fopen(const char *filename, const char *mode) {
	return fopen(filename, mode);
}

::FILE *
lfs_fdopen(int filedes, const char *mode) {
	return fdopen(filedes, mode);
}

int
lfs_mkstemp(char *templ) {
	#ifdef __linux__
		return mkstemp64(templ);
	#else
		return mkstemp(templ);
	#endif
}


} // namespace Passenger

Youez - 2016 - github.com/yon3zu
LinuXploit