↓ 按住下拉

  • qemu的drive参数解释
    drive参数很简单,可以理解成是定义了一个实际的硬盘(或者是cd)与drive对应的是device-drive option[,option[,option[,...]]] Define a new drive. This include ......
  • input之按键输入
    通过直接操作驱动来监控键盘,只要程序一旦在后台启动,无论在任何页面都可以监控到按键的数值。 步骤如下: 1.找到键盘挂在点:有两种方法   方法一:在   /dev/input ......
  • 进程间通信之数据传输--FIFO
    One of the fundamental features that makes Linux and other Unices useful is the “pipe”. Pipes allow separate processes to communicate without having b ......
  • select函数的使用
    select函数是 I/O 复用中非常重要的一个函数,属于并发编程的。它能够监视我们需要监视的文件描述符的变化情况–读、写或者异常 1. 函数原型 include <sys/select. ......
  • Linux---who命令学习
    who命令 获取正在登录系统的用户 使用Linux的who命令 第一个参数book代表用户名,第二个参数tty7代表终端名,第三个参数代表时间,第四个参数代表用户的登录地址。 ......
  • pwnable.kr lotto之write up
    源代码 : include <stdio.h> include <stdlib.h> include <string.h> include <fcntl.h> unsigned char submit[]; void play(){ int i; printf( ......
  • 基于linux与线程池实现文件管理
    1.基本   用线程池实现一个大文件夹的拷贝,大文件夹嵌套很多小文件;实现复制到指定文件夹的全部文件夹。 2.扩充功能   显示进度条;拷贝耗时统计;类似linux的tree, ......
  • ubuntu系统64位dnw
    /* dnw2 linux main file. This depends on libusb. * * * * Author: Fox <hulifox008@163.com> * * License: GPL * * * */ include <stdio.h> include < ......
  • shutil模块的使用
    shutil模块   高级的文件,文件夹,压缩包处理模块   shutil.copyfileobj(fsrc,fdst,length)  将文件内容拷贝到另外一个文件中,可以部分。fdst目标length长度(长度 ......
  • libevent网络库
    1、概述 libevent是一个C语言编写的、轻量级开源高性能事件通知库。作为底层网络库,已经被广泛应用(如:memcached、Vomit、Nylon、Netchat等)。主要有以下几个亮点: 事件 ......