STM32F4-Discovery EXIT keil&iar例程
上傳時間: 2013-05-28
上傳用戶:colinal
1、 了解系統調用fork()、execl()、EXIT()、getpid()和waitpid()的功能和實現過程 2、 編寫一段程序實現以下功能: a) 使用系統調用fork()創建兩個子進程 b) 父進程重復顯示字符串”parent:”,并使用函數getpid()顯示自己的進程ID。 c) 兩個子進程分別重復顯示字符串”child:”,并使用函數getpid()顯示自己的進程ID 3、 編寫一段程序實現以下功能: a) 使用系統調用fork()創建一個子進程 b) 子進程顯示自己的進程ID和字符串": The child is calling an exec.\n",然后通過execl()調用系統命令ps顯示當前運行的進程情況,從而更換自己的執行代碼,最后調用EXIT()結束。 c) 父進程顯示自己的進程ID和字符串” ": The parent is waiting for child to EXIT.\n ",然后調用waitpid()等待子進程結束,并在子進程結束后顯示”The parent EXIT.\n
上傳時間: 2013-12-18
上傳用戶:葉山豪
/* Check_SST_39VF400A Check manufacturer and device ID /* CFI_Query CFI Query Entry/EXIT command sequence /* Erase_One_Sector Erase a sector of 2048 words /* Erase_One_Block Erase a block of 32K words /* Erase_Entire_Chip Erase the contents of the entire chip /* Program_One_Word Alter data in one word /* Program_One_Sector Alter data in 2048 word sector /* Program_One_Block Alter data in 32K word block
標簽: manufacturer Check_SST CFI_Query command
上傳時間: 2013-12-15
上傳用戶:jjj0202
URL編碼 如“EXIT”編碼為“%65%78%69%74”
上傳時間: 2015-11-24
上傳用戶:huql11633
電子琴,從鍵盤接收字符,不回顯,若為ESC鍵,則轉EXIT,放音
上傳時間: 2016-01-10
上傳用戶:stampede
繼電器控制,設8255為A口輸入,C口輸出,延時5s,是否有鍵按下,若有則轉EXIT,查詢8255的PA0是否為高電平,若不是則繼續,定時時間到,子程序返回
上傳時間: 2016-01-10
上傳用戶:stewart·
I use C to implement thread operating,include initiallize,fork,yield,EXIT,kill. You should have driver to use this library. I choose array for ready queue,and strcut for Thread Control Block.
標簽: initiallize implement operating include
上傳時間: 2016-01-26
上傳用戶:xc216
一個簡單的記事本代碼.實現 File..new/open/save/EXIT功能
上傳時間: 2014-11-26
上傳用戶:ippler8
Error EXIT Code for Linux operating system. This code is efficient and modified by a team from a reputed institute
標簽: efficient operating modified system
上傳時間: 2017-06-11
上傳用戶:225588
//初始化 if(initscr() == NULL) { perror("initcurs") EXIT(EXIT_FAILURE) } //設置模式 cbreak() noecho() keypad(stdscr, TRUE) //建立窗口 win = newwin(h, w, 3, 20) box(win, 0, 0) keypad(win, TRUE) wmove(win, cury, curx) mvaddstr(16, 1, "Press arrow keys to move the cursor within the window.\n") mvaddstr(17, 1, "Press q to quit.\n") refresh() wrefresh(win)
標簽: EXIT_FAILURE initcurs initscr perror
上傳時間: 2013-12-20
上傳用戶:FreeSky