freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

某學(xué)院操作系統(tǒng)課程設(shè)計(jì)報(bào)告(文件管理系統(tǒng))(原創(chuàng))-預(yù)覽頁

2024-12-14 21:16 上一頁面

下一頁面
 

【正文】 數(shù)數(shù) 據(jù)據(jù) 結(jié)結(jié) 構(gòu)構(gòu) ? struct inode { ? struct inode*i_forw。 ? unsigned int i_count。 ? unsigned short di_uid。 ? struct filsys { ? unsigned short s_isize。 ? unsigned int s_free[NICFREE] 。 ? unsigned int s_rinode。 ? unsigned short u_uid。 ? struct pwd { ? unsigned short p_uid。 ? struct dinode { ? unsigned short di_number。 ? unsigned long di_size。 ? unsigned int d_ino。 ? }。 ? struct filsys filsys。 ? struct inode*cur_path_inode。 ? char sel。 ? int done=1。) ? { printf(\nFormat will erase all context on the disk \n)。 ? install()。 ? printf(\nPlease input your password:)。 ? while(done) { ? printf(\n Please Select Your Operating\n)。139。239。 ? break。 ? scanf(%s,temp_dir)。439。 buf=(char*)malloc(BLOCKSIZ*6+5)。 break。 halt()。 } } } else printf(User canseled\nGood Bye\n)。 這這 樣樣 ,[0]指指 向向 該該 組組 的的 地地 址址 塊塊 ,而而 [49]++ 1則則 指指 向向 下下 一一 個(gè)個(gè) 組組 的的 地地 址址 塊塊 */ { for(j=0。 fwrite(block_buf,1,BLOCKSIZ,fd)。i++) block_buf[i503]=i。iNICFREE。 } i=。 for(i=0。 free_block=[]。iNICFREE。 ? // [0]為為 當(dāng)當(dāng) 前前 BLOCK組組 的的 地地 址址 塊塊 ? fwrite(block_buf,1,BLOCKSIZ,fd)。 ? if((inodedi_modeamp。 ? if((inodedi_modeamp。 ? return 0。} ? i++。 ? if(access(user_id,inode,mode)==0){iput(inode)。 ? di_ith=iname(filename)。 ? dinodeid=namei(filename)。} ? inode=sys_ofile[user[user_id].u_ofile[cfd]].f_inode。} ? if((off+size)inodedi_size) size=inodedi_sizeoff。i(int)(sizeblock_off)/BLOCKSIZ。} } 讀文件 ? if(!(sys_ofile[user[user_id].u_ofile[cfd]].f_flagamp。 ? fwrite(buf,1,size,fd)。 ? temp_buf+=BLOCKSIZblock_off。 ? fseek(fd,DATASTART+inodedi_addr[block+1+i] *BLOCKSIZ,SEEK_SET)。 ? return (int)NULL。 ? return (int)NULL。 ? if(i==SYSOPENFILE){ ? printf(\nThere are too many files to be opend.\n)。i。 for(j=0。 if(one) printf(x)。DIFILE==1){ printf(%ld\n,temp_inodedi_size)。i++) printf(%4d,temp_inodedi_addr[i])。 } } 圖圖 816 創(chuàng)創(chuàng) 建建 目目 錄錄 ? if(dirid!=1){ // dirid==1表表 示示 沒沒 有有 該該 目目 錄錄 名名 存存 在在 。else ? printf(\n%s is a file name, so the filesystem can not creat a directory ? with the same name,dirname)。 return 0。 return 0。jDIRNUM。} 圖圖 818 用用 戶戶 登登 錄錄 for(i=0。((strcmp(passwd,pwd[i].password)==0))) { j=0。 return 0。 } break。iUSERNUM。} for(j=0。iput(inode)。 if(fd==NULL){ printf(\nFilesys can not be loaded.\n)。filsys,1,sizeof(struct filsys),fd)。i++) 圖圖 821 退退 出出 文文 件件 系系 統(tǒng)統(tǒng) halt(){int i,j。jNOFILE。 fwrite(amp。exit(0)}
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1