摘要:
1 int setOption(int fd,int nSpeed, int nBits, char mode,char nEvent, int nStop) 2 { 3 struct termios newtio; 4 bzero( &newtio, sizeof( newtio ) ); 5 n 阅读全文
摘要:
1 #define container_of(ptr, type, member) ({ \ 2 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 3 (type *)( (char *)__mptr - offsetof(type,mem 阅读全文