⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 allman3.ps

📁 Unix操作系统minix 2.0源码
💻 PS
📖 第 1 页 / 共 5 页
字号:
4416(no)S4541(bell)S4717(available)S4440 V1080(void)S1283(\257ash\(\))S3240(\257ash)S3455(terminal)S3816(screen)S4099(or)S4208(rings)S4434(bell)S4610(if)S4697(no)S4822(visible)S5115(bell)S5291(available)S4680 V1080(void)S(wbox\(win,miny,minx,maxy,maxx,vc,hc\))1640 1283 A(box)150 3240 A3415(in)S3518(a)S(window,)349 3588 A3962(with)S4166(given)S4414(characters)S4800 V1080(void)S(box\(win,vc,hc\))609 1283 A5040 V1080(void)S1283(cbreak\(\))S3240(set)S3377(terminal)S3738(cbreak)S4032(mode)S5280 V1080(void)S1283(wclear\(win\))S3240(clear)S3462(stdscr)S5400 V1080(void)S(clear\(\))265 1283 A5640 V1080(void)S1283(clearok\(win,bf\))S3240(marks)S(window)324 3511 A3860(for)S4003(screen)S4286(clear)S5880 V1080(int)S(wclrtobot\(win\))605 1211 A3240(clear)S3462(from)S3683(cursor)S3960(to)S4063(end)S4233(of)S4342(line)S4518(and)S4688(all)S4814(lines)S5029(down)S5277(this)S5447(line)S6000 V1080(int)S(clrtobot\(\))381 1211 A6120 V1080(int)S1211(mvclrtoeol\(y,x\))S6240 V1080(int)S(mvwclrtobot\(win,y,x\))883 1211 A6480 V1080(int)S1211(wclrtoeol\(win\))S3240(clear)S3462(from)S3683(cursor)S3960(to)S4063(end)S4233(of)S4342(line)S6600 V1080(int)S1211(clrtoeol\(\))S6720 V1080(int)S1211(mvclrtoeol\(y,x\))S6840 V1080(int)S1211(mvwclrtoeol\(win,y,x\))S7080 V1080(int)S1211(wdelch\(win\))S3240(delete)S3506(a)S3576(char)S3775(in)S3878(a)S(window)324 3948 A7200 V1080(int)S1211(delch\(\))S7320 V1080(int)S1211(mvdelch\(y,x\))S7440 V1080(int)S1211(mvwdelch\(win,y,x\))S7903 V720(September)S1176(17,)S(1996)200 1326 A4990(Page)S5211(2)S8143 VEP%%Page: 3 12BP/slant 0 def/height 0 def480 V10 R720(CURSES)S1109(\()S1151(3)S1209(\))S2696(Eighth)S(Edition)296 2989 A4738(CURSES)S5127(\()S5169(3)S5227(\))S960 V1080(int)S1211(wdeleteln\(win\))S3240(delete)S3506(a)S3576(line)S3752(in)S3855(a)S(window)324 3925 A1080 V1080(int)S1211(deleteln\(\))S1200 V1080(int)S1211(mvdeleteln\(y,x\))S1320 V1080(int)S1211(mvwdeleteln\(win,y,x\))S1560 V1080(void)S1283(delwin\(win\))S3240(delete)S3506(a)S(window)324 3576 A3925(or)S4034(a)S(subwindow)463 4104 A1680 V1080(void)S(doupdate\(\))436 1283 A(update)268 3240 A(physical)335 3533 A3893(screen)S1800 V1080(void)S1283(echo\(\))S3240(set)S3377(terminal)S3738(echo)S3953(mode)S1920 V1080(int)S1211(endwin\(\))S(cleanup)313 3240 A3578(and)S3748(curses)S(\256nitialization)537 4025 A2160 V1080(void)S1283(werase\(win\))S3240(erase)S3473(a)S(window)324 3543 A2280 V1080(void)S1283(erase\(\))S2520 V1080(int)S(erasechar\(\))450 1211 A3240(return)S3506(char)S3705(delete)S3971(character)S2640 V1080(int)S1211(\256xterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A2760 V1080(void)S1283(\257ushinp\(\))S(kill)134 3240 A3399(pending)S(keyboard)374 3747 A(input)206 4146 A3000 V1080(int)S1211(wgetch\(win\))S3240(get)S3388(char)S3587(via)S3735(a)S(window)324 3805 A3120 V1080(int)S1211(getch\(\))S3240 V1080(int)S1211(mvgetch\(y,x\))S3360 V1080(int)S1211(mvwgetch\(win,y,x\))S3600 V1080(int)S1211(wgetstr\(win,str\))S3240(get)S3388(string)S3642(via)S(window)324 3790 A4139(to)S4242(a)S4312(buffer)S3720 V1080(int)S1211(getstr\(str\))S3840 V1080(int)S1211(mvgetstr\(y,x,str\))S3960 V1080(int)S1211(mvwgetstr\(win,y,x,str\))S4200 V1080(void)S1283(getyx\(win,y,x\))S3240(get)S3388(a)S(window's)397 3458 A3880(cursor)S(position)323 4157 A4440 V1080(int)S1211(gettmode\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A4560 V1080(void)S1283(idlok\(win,bf\))S3240(dummy)S3571(for)S(compatibility)536 3714 A4680 V(WINDOW)443 1080 A(*initscr\(\))370 1548 A3240(curses)S(initialization)509 3517 A4051(\(ret)S4217(stdscr)S4477(or)S4586(NULL\))S4920 V1080(int)S1211(winch\(win\))S3240(get)S3388(char)S3587(at)S(window)324 3685 A4034(cursor)S5040 V1080(int)S1211(inch\(\))S5160 V1080(int)S1211(mvinch\(y,x\))S5280 V1080(int)S1211(mvwinch\(win,y,x\))S5520 V1080(int)S1211(winsch\(win,ch\))S3240(insert)S3489(character)S3885(in)S3988(a)S(window)324 4058 A5640 V1080(int)S1211(insch\(ch\))S5760 V1080(int)S1211(mvinsch\(y,x,ch\))S5880 V1080(int)S1211(mvwinsch\(win,y,x,ch\))S6120 V1080(int)S1211(winsertln\(win\))S3240(insert)S3489(new)S3682(line)S3858(in)S3961(a)S(window)324 4031 A6240 V1080(int)S1211(insertln\(\))S6360 V1080(int)S1211(mvinsertln\(y,x\))S6480 V1080(int)S1211(mvwinsertln\(win,y,x\))S6720 V1080(void)S1283(keypad\(win,bf\))S3240(marks)S3511(a)S(window)324 3581 A3930(for)S4073(keypad)S4388(usage)S6840 V1080(int)S(killchar\(\))376 1211 A3240(return)S3506(line)S3682(delete)S3948(character)S6960 V1080(char)S(*longname\(\))514 1279 A3240(returns)S3545(terminal)S3906(description)S4378(string)S7080 V1080(void)S1283(leaveok\(win,bf\))S3240(marks)S(window)324 3511 A3860(for)S4003(cursor)S('update)302 4280 A4607(leave')S7200 V1080(void)S1283(meta\(win,bf\))S3240(marks)S(window)324 3511 A3860(for)S4003(meta)S7320 V1080(int)S1211(move\(y,x\))S3240(move)S3488(cursor)S3765(in)S3868(stdscr)S7440 V1080(int)S1211(mvcur\(oldy,oldx,y,x\))S3240(move)S3488(terminal)S3849(cursor)S4126(to)S4229(<y,x>)S7903 V720(Page)S941(3)S4455(September)S4911(17,)S(1996)200 5061 A8143 VEP%%Page: 4 13BP/slant 0 def/height 0 def480 V10 R720(CURSES)S1109(\()S1151(3)S1209(\))S2696(Eighth)S(Edition)296 2989 A4738(CURSES)S5127(\()S5169(3)S5227(\))S960 V1080(int)S1211(mvprintw\(y,x,fmt,args\))S3240(move)S3488(&)S3591(print)S3806(string)S4060(in)S4163(stdscr)S1200 V1080(int)S1211(mvscanw\(y,x,fmt,args\))S3240(move)S3488(&)S3591(get)S3739(values)S4021(via)S4169(stdscr)S1320 V1080(int)S1211(mvwin\(win,y,x\))S3240(move)S(window)324 3488 A3837(on)S(physical)335 3962 A4322(screen)S1440 V1080(int)S1211(mvwprintw\(win,x,y,fmt,args\))S3240(move)S3488(&)S3591(print)S3806(string)S4060(in)S4163(a)S(window)324 4233 A1560 V1080(int)S1211(mvwscanw\(win,y,x,fmt,args\))S3240(move)S3488(&)S3591(get)S3739(values)S4021(via)S4169(a)S(window)324 4239 A1680 V(WINDOW)443 1080 A1548(*newwin\(lines,cols,begy,begx\))S3240(create)S3507(a)S3577(new)S(window)324 3770 A1800 V1080(void)S1283(nl\(\))S3240(set)S3377(terminal)S3738(cr-crlf)S4017(mapping)S4393(mode)S1920 V1080(void)S1283(nocbreak\(\))S3240(unset)S3477(terminal)S3838(cbreak)S4132(mod)S2040 V1080(void)S(nodelay\(win,bf\))646 1283 A3240(marks)S(window)324 3511 A3860(for)S4003(no)S(input)206 4128 A4359(wait)S2160 V1080(void)S1283(noecho\(\))S3240(unset)S3477(terminal)S3838(echo)S4053(mode)S2280 V1080(void)S(nonl\(\))246 1283 A3240(unset)S3477(terminal)S3838(cr-crlf)S4117(mapping)S4493(mode)S2400 V1080(void)S1283(noraw\(\))S3240(unset)S3477(raw)S3654(terminal)S4015(mode)S2520 V1080(void)S1283(overlay\(win1,win2\))S3240(overlay)S3567(one)S(window)324 3737 A4086(on)S4211(another)S2640 V1080(void)S1283(overwrite\(win1,win2\))S3240(overwrite)S3652(one)S(window)324 3822 A4171(on)S4296(another)S2760 V1080(int)S1211(printw\(fmt,args\))S3240(print)S3455(string)S3709(in)S3812(stdscr)S2880 V1080(void)S1283(raw\(\))S3240(set)S3377(raw)S3554(terminal)S3915(mode)S3000 V1080(void)S1283(refrbrk\(bf\))S3240(set)S3377(screen)S(update)268 3660 A3953(break)S4202(mode)S3120 V1080(void)S1283(refresh\(\))S3240(refresh)S3546(stdscr)S3240 V1080(int)S1211(resetterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A3360 V1080(int)S1211(resetty\(\))S3240(restore)S3540(terminal)S3901(I/O)S4061(modes)S3480 V1080(int)S1211(saveoldterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A3600 V1080(int)S1211(saveterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A3720 V1080(int)S1211(savetty\(\))S3240(save)S3444(terminal)S3805(I/O)S3965(modes)S3840 V1080(int)S1211(scanw\(fmt,args\))S3240(get)S3388(values)S3670(via)S3818(stdscr)S3960 V1080(void)S1283(scroll\(win\))S3240(scroll)S(scrolling)352 3489 A3866(region)S4148(of)S4257(a)S(window)324 4327 A4080 V1080(void)S1283(scrollok\(win,bf\))S3240(marks)S3511(a)S(window)324 3581 A3930(to)S4033(allow)S4282(scroll)S4200 V1080(void)S1283(setcolors\(A_COLOR\(for,back\)\))S3240(sets)S3416(the)S(forground)402 3564 A3991(and)S(background)474 4161 A4320 V3240(colors)S3511(of)S3620(stdscr)S4440 V1080(void)S(set_curs\(visibility\))755 1283 A3240(0)S3315(for)S3458(invisible,)S3854(1)S3929(for)S4072(visible,)S4390(2)S4465(for)S(good)200 4608 A4560 V3240(visible)S4680 V1080(int)S1211(setsrcreg\(miny,maxy\))S3240(de\256ne)S3511(stdscr's)S3844(scroll)S4093(region)S4800 V1080(int)S1211(setterm\(\))S3240(dummy)S3571(for)S(compatibility)536 3714 A4920 V1080(int)S(setupterm\(term,fd,errret\))1004 1211 A3240(set)S3377(up)S3502(terminal)S5040 V1080(void)S1283(standend\(\))S3240(start)S3439(normal)S3749(chars)S3987(in)S4090(stdscr)S5160 V1080(void)S(standout\(\))408 1283 A3240(start)S(standout)340 3439 A3804(chars)S4042(in)S4145(stdscr)S5280 V(WINDOW)443 1080 A1548(*subwin\(win,lines,cols,begy,begx\))S5400 V3240(create)S3507(a)S(sub-window)497 3577 A4099(in)S(window)324 4202 A4551(win)S5520 V1080(int)S1211(tabsize\(ts\))S3240(set/get)S3528(tabsize)S3833(of)S3942(stdscr)S5640 V1080(void)S1283(touchwin\(win\))S3240(mark)S3472(a)S(window)324 3542 A3891(as)S4000(totally)S4282(modi\256ed)S5760 V1080(char)S(*unctrl\(ch\))448 1279 A3240(char-to-string)S(converter)381 3814 A5880 V1080(int)S1211(wmove\(win,y,x\))S3240(move)S3488(cursor)S3765(in)S3868(a)S(window)324 3938 A6000 V1080(void)S(wnoutrefresh\(win\))751 1283 A3240(create)S3507(internal)S3840(screen)S4123(image)S6120 V1080(int)S1211(wprintw\(win,fmt,args\))S3240(print)S3455(string)S3709(in)S3812(a)S(window)324 3882 A6240 V1080(void)S1283(wrefresh\(win\))S3240(refresh)S(window)324 3546 A6360 V1080(int)S1211(wscanw\(win,fmt,args\))S3240(get)S3388(values)S3670(via)S3818(a)S(window)324 3888 A6480 V1080(void)S1283(wsetcolors\(win,A_COLOR\(for,back\)\))S3240(sets)S3416(the)S(forground)402 3564 A3991(and)S6600 V(background)474 3240 A3739(colors)S4010(of)S4119(the)S4267(speci\256ed)S(window)324 4650 A6720 V1080(int)S1211(wsetsrcreg\(win,miny,maxy\))S3240(de\256ne)S3511(a)S(window's)397 3581 A(scrolling)352 4003 A4380(region)S6840 V1080(void)S1283(wstandend\(win\))S3240(start)S3439(normal)S3749(chars)S3987(in)S(window)324 4090 A6960 V1080(void)S(wstandout\(win\))632 1283 A3240(start)S(standout)340 3439 A3804(chars)S4042(in)S(window)324 4145 A7080 V1080(int)S1211(wtabsize\(win,ts\))S3240(set/get)S3528(tabsize)S3833(of)S3942(a)S(window)324 4012 A7248 V9 R720(B)S722(BU)S784(UG)S852(GS)S920(S)S7368 V10 R1080(Function)S1462(keys)S1671(are)S1820(not)S1973(available)S(under)229 2362 A2616(the)S2764(MINIX)S3092(version.)S7903 V720(September)S1176(17,)S(1996)200 1326 A4990(Page)S5211(4)S8143 VEP%%Page: 1 14BP/slant 0 def/height 0 def480 V10 R720(DIRECTORY)S1306(\()S1348(3)S1406(\))S2696(Eighth)S(Edition)296 2989 A4541(DIRECTORY)S5127(\()S5169(3)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(directory,)S1494(opendir,)S1851(readdir,)S(rewinddir,)417 2187 A2629(closedir,)S2998(telldir,)S3289(seekdir)S10 R-13605(-)S10 R3687(directory)S4076(routines)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(#include)S1482(<sys/types.h>)S1488 V1080(#include)S1482(<dirent.h>)S1728 V1080(DIR)S1303(*opendir\(const)S1985(char)S2219(*)S10 I2269(dirname)S10 B2604(\))S1848 V1080(struct)S1371(dirent)S1673(*readdir\(DIR)S2305(*)S10 I2355(dirp)S10 B2522(\))S1968 V1080(void)S(rewinddir\(DIR)651 1302 A1991(*)S10 I2041(dirp)S10 B2208(\))S2088 V1080(int)S1236(closedir\(DIR)S1829(*)S10 I1879(dirp)S10 B2046(\))S2328 V1080(#de\256ne)S1426(_MINIX)S1871(1)S2448 V1080(#include)S1482(<sys/types.h>)S2568 V1080(#include)S1482(<dirent.h>)S2808 V1080(long)S1302(telldir\(DIR)S1823(*)S10 I1873(dirp)S10 B2040(\))S2928 V1080(int)S1236(seekdir\(DIR)S1807(*)S10 I1857(dirp)S10 B2024(,)S2087(long)S10 I2309(pos)S10 B2448(\))S3096 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S3216 V10 R1080(These)S1346(routines)S1695(form)S1916(a)S1986(system)S2290(independent)S(interface)354 2806 A3185(to)S(access)258 3288 A3571(directories.)S3384 V10 B1080(Opendir\(\))S10 R1537(opens)S1796(the)S1944(directory)S10 I2333(dirname)S10 R2693(and)S2863(returns)S3168(a)S3238(pointer)S3548(to)S3651(this)S3821(open)S4041(directory)S4430(stream.)S3552 V10 B1080(Readdir\(\))S10 R1529(reads)S1770(one)S1943(entry)S2178(from)S2402(the)S2553(directory)S2945(as)S3057(a)S3131(pointer)S3445(to)S3552(a)S3626(structure)S4008(containing)S4461(the)S4613(\256eld)S10 B4821(d_name)S10 R5162(,)S5216(a)S3672 V1080(character)S1476(array)S1709(containing)S2158(the)S2306(null-terminated)S2952(name)S3195(of)S3304(the)S3452(entry.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -