自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(12)
  • 资源 (3)
  • 收藏
  • 关注

转载 TTY 3

 TTY 线路设置当一个用户要改变一个 tty 设备的线路设置或者获取当前线路设置, 他调用一个许多的不同 termios 用户空间库函数或者直接对这个tty 设备的节点调用 ioctl. tty 核心转换这 2 种接口为许多不同的 tty 驱动函数回调和 ioctl 调用.18.3.1. set_termios 函数大部分 termios 用户

2009-05-31 15:39:00 852

转载 linux tty pty pts 概念 区别

linux tty pty pts 概念 区别   转自: http://blog.chinaunix.net/u/6436/showart_1003495.html 基本概念:1. tty(终端设备的统称):tty一词源于Teletypes,或者telety

2009-05-31 13:57:00 746

转载 ANSI UNICODE 编码

字符编码介绍ansi(ASCII)->gbk/gb2312->unicode(utf16/utf8) original link:http://hi.baidu.com/epeak/blog/item/67ca7aafa23bbbf8faed5064.html在计算机中字符通常并不是保存为图像,每个字符都是使用一个编码来表示的,而每个字符究竟使用哪个编码代表,要取决于使

2009-05-31 10:18:00 498

转载 TTY 2

6.4.4  使用tcgetattr函数与tcsetattr函数控制终端为了便于通过程序来获得和修改终端参数,Linux还提供了tcgetattr函数和tcsetattr函数。tcgetattr用于获取终端的相关参数,而tcsetattr函数用于设置终端参数。这两个函数的具体信息如表6.2所示。表6.2   tcgetattr函数和tcsetattr函数头文件

2009-05-25 17:43:00 1164 1

转载 TTY 1

获得当前终端名称Linux系统中提供了ttyname函数,用于判断某个打开的文件描述符是否是某个终端设备。如果是,则返回终端设备的名称,该函数的具体信息如表6.1所示。表6.1   ttyname函数说明:ttyname函数用于返回终端的名称,其中fd为打开终端而获得文件描述符。表6.1   ttyname函数头文件

2009-05-25 17:41:00 991

转载 WAP MMS

转载自:http://blog.csdn.net/absurd   彩信的架构。彩信和其它WAP应用的架构差不多,都要经过WAPGateway中转。要注意的是彩信并非直接投递给接收方,而是像邮件一样,先发送给一个中间服务器MMS Proxy-Relay。MMSProxy-Relay暂时保存彩信,然后通过push协议给彩信接收方发送一个通知,彩信接收方收到通知后从MMS

2009-05-25 14:57:00 2031

原创 SMS

转自:http://hi.baidu.com/mobilebrother/blog/item/9e54d0f064137baba40f5239.html发表者:Stephen 刘术语:MS: Mobile StationSC: Service Centre (used for SMS)SMS: Short Message ServiceSMS

2009-05-25 11:49:00 605

转载 编码转换

#include #define BUFLEN 200char inbuf[BUFLEN];char outbuf[BUFLEN];char* pin = inbuf;char* pout = outbuf;…打开文件,读入GB2312数据到inbuf,数据长度为 lenint inleft = len;int outleft = BUFLEN;

2009-05-21 10:42:00 520

转载 Linux IP Masquerade

P Masquerade 是 Linux 发展中的一种网路功能.如果一台 Linux 主机使用 IP Masquerade功能连线到网际网路上,那麽接上它的电脑(不论是在同一个区域网路上或藉由数据机连线)也可以接触网际网路,即使它们没有获得正式指定的 IP 位址.这使得一些电脑可以隐藏在闸道(gateway) 系统後面存取网际网路而不被发现,看起来就像只有这个系统在使用网际网络

2009-05-18 14:12:00 3279

转载 rp_filter

The rp_filter can reject incoming packets if theirsource address doesn’t match the network interface that they’rearriving on, which helps to prevent IP spoofing. Turning this on,however, has i

2009-05-18 11:05:00 4471

转载 ppp/pppd/chat关系及数据收发流程

ppp/pppd/chat关系及数据收发流程参考: http://blog.csdn.net/absurd 李先静 一、 协议相关介绍PPP(Point-to-Point Protocol点到点协议)是为在同等单元之间传输数据包这样的简单链路设计的链路层协议。这种链路提供全双工操作,并按照顺序传递数据包。设计目的主要是用来

2009-05-13 11:45:00 1716

转载 Linux下的定时器:alarm()与setitimer()

Linux下的定时器:alarm()与setitimer()<!--google_ad_client = "pub-7070616161311657";/* 网站右侧300x250创建于08-12-26 */google_ad_slot = "7486809895";google_ad_width = 300;google_ad_height = 250;//-

2009-05-04 16:00:00 967 1

tcc-0.9.25-win32-bin

tcc-0.9.25-win32-bin: Features SMALL! You can compile and execute C code everywhere, for example on rescue disks (about 100KB for x86 TCC executable, including C preprocessor, C compiler, assembler and linker). FAST! tcc generates x86 code. No byte code overhead. Compile, assemble and link several times faster than GCC. UNLIMITED! Any C dynamic library can be used directly. TCC is heading torward full ISOC99 compliance. TCC can of course compile itself. SAFE! tcc includes an optional memory and bound checker. Bound checked code can be mixed freely with standard code. Compile and execute C source directly. No linking or assembly necessary. Full C preprocessor and GNU-like assembler included. C script supported : just add '#!/usr/local/bin/tcc -run' at the first line of your C source, and execute it directly from the command line. With libtcc, you can use TCC as a backend for dynamic code generation.

2011-08-18

内核态下监视新进程创建和结束

内核态下监视新进程创建和结束ProcMon.zip。 拦截系统API

2010-04-02

USBUSB 驱动分析

USB 驱动分析, USB 驱动分析

2008-03-26

空空如也

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

TA关注的人

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