STM32F4-Discovery EXIT keil&iar例程
標(biāo)簽: Discovery EXIT keil STM
上傳時(shí)間: 2013-05-28
上傳用戶:colinal
1、 了解系統(tǒng)調(diào)用fork()、execl()、EXIT()、getpid()和waitpid()的功能和實(shí)現(xiàn)過程 2、 編寫一段程序?qū)崿F(xiàn)以下功能: a) 使用系統(tǒng)調(diào)用fork()創(chuàng)建兩個(gè)子進(jìn)程 b) 父進(jìn)程重復(fù)顯示字符串”parent:”,并使用函數(shù)getpid()顯示自己的進(jìn)程ID。 c) 兩個(gè)子進(jìn)程分別重復(fù)顯示字符串”child:”,并使用函數(shù)getpid()顯示自己的進(jìn)程ID 3、 編寫一段程序?qū)崿F(xiàn)以下功能: a) 使用系統(tǒng)調(diào)用fork()創(chuàng)建一個(gè)子進(jìn)程 b) 子進(jìn)程顯示自己的進(jìn)程ID和字符串": The child is calling an exec.\n",然后通過execl()調(diào)用系統(tǒng)命令ps顯示當(dāng)前運(yùn)行的進(jìn)程情況,從而更換自己的執(zhí)行代碼,最后調(diào)用EXIT()結(jié)束。 c) 父進(jìn)程顯示自己的進(jìn)程ID和字符串” ": The parent is waiting for child to EXIT.\n ",然后調(diào)用waitpid()等待子進(jìn)程結(jié)束,并在子進(jìn)程結(jié)束后顯示”The parent EXIT.\n
標(biāo)簽: fork waitpid getpid execl
上傳時(shí)間: 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
標(biāo)簽: manufacturer Check_SST CFI_Query command
上傳時(shí)間: 2013-12-15
上傳用戶:jjj0202
URL編碼 如“EXIT”編碼為“%65%78%69%74”
上傳時(shí)間: 2015-11-24
上傳用戶:huql11633
電子琴,從鍵盤接收字符,不回顯,若為ESC鍵,則轉(zhuǎn)EXIT,放音
上傳時(shí)間: 2016-01-10
上傳用戶:stampede
繼電器控制,設(shè)8255為A口輸入,C口輸出,延時(shí)5s,是否有鍵按下,若有則轉(zhuǎn)EXIT,查詢8255的PA0是否為高電平,若不是則繼續(xù),定時(shí)時(shí)間到,子程序返回
上傳時(shí)間: 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.
標(biāo)簽: initiallize implement operating include
上傳時(shí)間: 2016-01-26
上傳用戶:xc216
一個(gè)簡單的記事本代碼.實(shí)現(xiàn) File..new/open/save/EXIT功能
上傳時(shí)間: 2014-11-26
上傳用戶:ippler8
Error EXIT Code for Linux operating system. This code is efficient and modified by a team from a reputed institute
標(biāo)簽: efficient operating modified system
上傳時(shí)間: 2017-06-11
上傳用戶:225588
//初始化 if(initscr() == NULL) { perror("initcurs") EXIT(EXIT_FAILURE) } //設(shè)置模式 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)
標(biāo)簽: EXIT_FAILURE initcurs initscr perror
上傳時(shí)間: 2013-12-20
上傳用戶:FreeSky
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1