403Webshell
Server IP : 104.21.25.180  /  Your IP : 162.159.115.41
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/systemtap/runtime/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/systemtap/runtime/vsprintf.h
/* -*- linux-c -*- 
 * Copyright (C) 2011 Red Hat Inc.
 *
 * This file is part of systemtap, and is free software.  You can
 * redistribute it and/or modify it under the terms of the GNU General
 * Public License (GPL); either version 2, or (at your option) any
 * later version.
 */

#ifndef _STP_VSPRINTF_H_
#define _STP_VSPRINTF_H_

enum print_flag { STP_ZEROPAD=1, STP_SIGN=2, STP_PLUS=4, STP_SPACE=8,
		  STP_LEFT=16, STP_SPECIAL=32, STP_LARGE=64 };

static char *number(char * buf, char * end, uint64_t num, int base,
		    int size, int precision, enum print_flag type);
static int number_size(uint64_t num, int base, int size, int precision,
		       enum print_flag type);

static char *_stp_vsprint_char(char * str, char * end, char c,
			       int width, enum print_flag flags);
static int _stp_vsprint_char_size(char c, int width, enum print_flag flags);

static char *_stp_vsprint_memory(char * str, char * end, const char * ptr,
				 int width, int precision,
				 char format, enum print_flag flags);
static int _stp_vsprint_memory_size(const char * ptr, int width, int precision,
				    char format, enum print_flag flags);

static char *_stp_vsprint_binary(char * str, char * end, int64_t num,
				 int width, int precision,
				 enum print_flag flags);
static int _stp_vsprint_binary_size(int64_t num, int width, int precision);

static int _stp_vsnprintf(char *buf, size_t size, const char *fmt,
			  va_list args);

#include "transport/transport.h"

#endif /* _STP_VSPRINTF_H_ */

Youez - 2016 - github.com/yon3zu
LinuXploit