This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
//void my_init(void) __attribute__ ((constructor)); | |
void my_init(void) | |
{ | |
printf("ctos\n"); | |
} | |
typedef void (*ctor_t)(void); | |
ctor_t __attribute__((section(".ctors"))) my_init_p=&my_init; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int fork(void) | |
{ | |
long __res; | |
__asm__ volatile ("int $0x80" | |
: "=a" (__res) | |
: "0" (__NR_ fork)) ; | |
if (__res >= 0) | |
return (int) __res; | |
errno = -__res; | |
return -1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Day changed Sat Aug 03 2013 | |
00:11 < tsai> :) | |
00:13 < pichuang_> 好多人 | |
00:14 < darkgerm> 差點忘記進來了XD | |
00:17 < darkgerm> pichuang: 學弟好 (? | |
00:17 < Jedi_> 隨手亂拿了一些奇怪的小禮品,實用性可疑,笑果若干,今、明兩天如果你剛好帶著拙著《簡報原力》或我的其他著作/譯作出席,請來跟我打個招呼,領取隨機小禮~ :p | |
00:22 < darkgerm> pichuang: 啊!原來是學長... 只看學號以為是學弟 <冏> | |
00:23 < chihhsin> darkgerm: 黑駿~ | |
00:23 < pichuang> 沒關係 我現在還沒有搞清楚狀況中XD | |
00:25 < darkgerm> chihhsin: hihi~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
壹多媒體娛樂服務股份有限公司 壹網樂/網樂通, https://www.nextvod.com.tw/ #nextvod #nextv | |
H/W | |
STMicroelectronics STx7105 (Renesas SuperH Core) | |
VIA VT6113 (Ethernet) | |
NANYA NT5TU64M16GG-AC (DRAM DDR2 64Mx16 PC800 BGA) * 2 | |
Samsung NCDOM08GMS-MLC (USB DOM 8GB) | |
Winbond 25Q80 1MB Spi Flash (Onboard Flash) | |
Console Pin headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@@@@@@@@@@@ | |
edit test @@@@@@@@@@@@@@@@@@@@@ | |
@@@@@@@@@@@@ | |
/**************************************************************************** | |
* | |
* MODULE: WSN - Coordinator | |
* | |
* COMPONENT: $RCSfile: WSN_Coordinator.c,v $ | |
* |
NewerOlder