自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

RToax

行百里者半九十

  • 博客(6)
  • 资源 (215)
  • 问答 (3)
  • 收藏
  • 关注

原创 C语言使用函数参数传递中的省略号:va_list, va_start, va_arg, va_end

首先要处理这种省略号的参数的话,需要包含头文件#include <stdarg.h>,然后利用下面的函数对“...”省略号变量进行处理。va_list arg;type va_arg( va_list arg, type );void va_end( va_list arg );void va_start( va_list arg, prev_param ); 下面实现...

2018-08-26 10:40:44 950

原创 C语言动态库libxxx.so的几种使用方法

首先先编写一个简单的函数func.h func.cfunc.h#ifndef _FUNC_H#define _FUNC_H#include <stdio.h>#include <stdlib.h>void fun(char *str);#endiffunc.c#include <func.h>void fun(char *...

2018-08-26 10:22:25 3304 1

原创 进程和线程模型

进程线程模型线程和进程的概念已经在操作系统书中被翻来覆去讲了很多遍。很多概念虽然都是套话,但没能理解透其中深意会导致很多内容理解不清晰。对于进程和线程的理解和把握可以说基本奠定了对系统的认知和把控能力。其核心意义绝不仅仅是“线程是调度的基本单位,进程是资源分配的基本单位”这么简单。多线程我们这里讨论的是用户态的多线程模型,同一个进程内部有多个线程,所有的线程共享同一个进程的内存空间,进...

2018-08-25 16:27:40 532 5

原创 进程间通信简介

进程间通信Linux几乎支持全部UNIX进程间通信方法,包括管道(有名管道和无名管道)、消息队列、共享内存、信号量和套接字。其中前四个属于同一台机器下进程间的通信,套接字则是用于网络通信。管道 无名管道 无名管道特点: 无名管道是一种特殊的文件,这种文件只存在于内存中。 无名管道只能用于父子进程或兄弟进程之间,必须用于具有亲缘关系的进程间...

2018-08-25 16:25:11 243

原创 网络I/O模型

网络I/O模型在描述这块内容的诸多书籍中,很多都只说笼统的概念,我们将问题具体化,暂时只考虑服务器端的网络I/O情形。我们假定目前的情形是服务器已经在监听用户请求,建立连接后服务器调用read()函数等待读取用户发送过来的数据流,之后将接收到的数据打印出来。所以服务器端简单是这样的流程:建立连接 -> 监听请求 -> 等待用户数据 -> 打印数据。我们总结网络通信中的等待...

2018-08-25 16:23:09 198

原创 Linux系统超全超实惠的命令行工具

Linux工具Linux下还是有很多超棒的开发工具的。在Linux日常使用中,最常用的命令自然是sudo, ls, cp, mv, cat等,但作为后台开发者,上述命令远远不够。从我的理解来看,合格的C/C++开发者至少需要从开发及调试工具、文件处理、性能分析、网络工具四个方面针对性使用一些开发工具。这里我罗列了一些,大部分都是开发中经常需要使用的命令,有些功能比较简单的命令我会给出一...

2018-08-25 16:19:54 297

C语言设计模式 PDF《C Design Pattern》

C语言设计模式 PDF《C Design Pattern》C语言设计模式 PDF《C Design Pattern》C语言设计模式 PDF《C Design Pattern》C语言设计模式 PDF《C Design Pattern》

2024-04-17

C, GNUC GCC 预处理《The C Preprocessor》

C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C, GNUC GCC 预处理《The C Preprocessor》,C

2024-04-16

iperf2 版本,有时候用 iperf3 测试不支持 多 stream

iperf2 版本,有时候用 iperf3 测试不支持 多 stream

2023-12-08

fedora aarch64 39 Docker镜像

fedora aarch64 39 Docker镜像

2023-12-07

ostools操作系统系列工具

ostools操作系统系列工具

2023-12-06

ostools归档压缩文件

ostools归档压缩文件

2023-12-06

unixbench测试程序

unixbench测试程序

2023-12-06

User Guide: Open Build Service

This guide is part of the Open Build Service documentation. These books are considered to contain only reviewed content, establishing the reference documentation of OBS. This guide does not focus on a specic OBS version. It is also not a replacement of the documentation inside of the openSUSE Wiki (https://en.opensuse.org/Portal:Build_Service) . However, content from the wiki may be included in these books in a consolidated form.

2022-05-13

CentOS Stream 9 nasm 安装包

可参考: https://vault.centos.org/8.5.2111/PowerTools/Source/SPackages/nasm-2.15.03-3.el8.src.rpm

2022-05-01

CentOS Stream 9 nasm 源码包

可参考:https://vault.centos.org/8.5.2111/PowerTools/Source/SPackages/nasm-2.15.03-3.el8.src.rpm

2022-05-01

CentOS Stream9 的 terminator 源码 RPM 包。

CentOS Stream9 的 terminator 源码 RPM 包。

2022-04-30

CentOS Stream9 的 terminator RPM包

CentOS Stream9 的 terminator RPM包

2022-04-30

vim配置文件,vim配置文件

vim配置文件,vim配置文件

2022-02-24

Optimizing Linux Kernel with BOLT.pdf

• What is BOLT • How it works • Linux Kernel Challenges

2022-01-21

red_hat_enterprise_linux-8-customizing_anaconda-en-us.pdf

自定义ISO安装过程Anaconda文档,参见 https://gitee.com/rtoax/cclinux-product.img

2022-01-18

多路服务器的价值与实现技术.pdf

多路服务器的价值与实现技术.pdf多路服务器的价值与实现技术.pdf

2021-12-27

vim-config.tar.gz

vim-config.tar.gz

2021-11-11

cclinux-coreos-34.20211111.3.0-live.x86_64.iso

cclinux-coreos-34.20211111.3.0-live.x86_64.iso

2021-11-11

Kernel Probes for ARM-ELC2007.pdf

Kernel Probes for ARM-ELC2007.pdf

2021-10-22

Ftrace Kernel Hooks-More than just tracing.pdf

Ftrace Kernel Hooks-More than just tracing.pdf

2021-10-22

The Amazing World of Kprobes-2016.pdf

The Amazing World of Kprobes-2016.pdf

2021-10-22

binary-protection-schemes.pdf

binary-protection-schemes.pdf

2021-09-10

protecting_binaries.pdf

protecting_binaries.pdf

2021-09-10

DPDK Getting Started Guide for Linux

DPDK Getting Started Guide for Linux

2021-09-10

cpumemory-What Every Programmer Should Know About Memory.pdf

cpumemory-What Every Programmer Should Know About Memory.pdf

2021-09-10

architecture-instruction-set-extensions-programming-reference

architecture-instruction-set-extensions-programming-reference

2021-09-10

history_Intel_CPU.pdf

history_Intel_CPU.pdf

2021-09-10

ia-introduction-basics-paper.pdf

ia-introduction-basics-paper.pdf

2021-09-10

System V Application Binary Interface - AMD64 Architecture

System V Application Binary Interface - AMD64 Architecture Processor Supplement-abi

2021-09-10

The P4 Language Specification.pdf

The P4 Language Specification.pdf

2021-09-10

Hidden Linux Metrics with Prometheus eBPF Exporter.pdf

Hidden Linux Metrics with Prometheus eBPF Exporter

2021-09-03

ASN.1-asn1c图.vsdx

ASN.1-asn1c图.vsdx

2021-09-02

O-RAN.WG3.E2AP-v01.01-看9.3章.docx

O-RAN.WG3.E2AP-v01.01

2021-09-02

E2APDesign 2.0.pptx

E2APDesign 2.0.pptx

2021-09-02

e2ap-v01.01.asn1

e2ap-v01.01.asn1

2021-08-25

e2ap-v01.00.00.asn

前面的文档讲述了如何编译asn1c,如何选取合适的asn1c软件版本,及其简单使用方法。本文将对asn1c的详细使用进行介绍和分析。并结合 O-RAN E2AP (参考**O-RAN.WG3.E2AP-v01.01**)进行编码测试与调试。

2021-08-25

fastq-test-4.select-3.10.0-693.2.2.rt56.623.el7.x86_64.rar

一些火焰图,

2021-08-24

BPF Internals.pdf

BPF Internals.pdf

2021-07-31

intel64 和IA-32 编程手册

intel64 和IA-32 编程手册

2021-07-10

Intel 64 and IA-32 Architectures Software Developer’s Manual Combined

Intel 64 and IA-32 Architectures Software Developer’s Manual Combined Volumes1, 2A, 2B, 2C, 2D, 3A, 3B, 3C, 3D and 4-解密注释.pdf

2021-07-07

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除