📄 a.t
字号:
.\" Copyright (c) 1983, 1993.\" The Regents of the University of California. All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\" notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\" notice, this list of conditions and the following disclaimer in the.\" documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\" must display the following acknowledgement:.\" This product includes software developed by the University of.\" California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\" may be used to endorse or promote products derived from this software.\" without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\" @(#)a.t 8.1 (Berkeley) 6/8/93.\".ds RH Summary of facilities.bp.SH\s+2I. Summary of facilities\s0.PP.de h.br.if n .ne 8\fB\\$1 \\$2\fP.br...nr H1 0.NHKernel primitives.LP.h 1.1. "Process naming and protection.in +5.TSlw(1.6i) aw(3i).sethostid set UNIX host idgethostid get UNIX host idsethostname set UNIX host namegethostname get UNIX host namegetpid get process idfork create new processexit terminate a processexecve execute a different processgetuid get user idgeteuid get effective user idsetreuid set real and effective user id'sgetgid get accounting group idgetegid get effective accounting group idgetgroups get access group setsetregid set real and effective group id'ssetgroups set access group setgetpgrp get process groupsetpgrp set process group.TE.in -5.h 1.2 "Memory management.in +5.TSlw(1.6i) aw(3i).<sys/mman.h> memory management definitionssbrk change data section sizesstk\(dg change stack section size.FS\(dg Not supported in 4.3BSD..FEgetpagesize get memory page sizemmap\(dg map pages of memorymsync\(dg flush modified mapped pages to filesystemmunmap\(dg unmap memorymprotect\(dg change protection of pagesmadvise\(dg give memory management advicemincore\(dg determine core residency of pagesmsleep\(dg sleep on a lockmwakeup\(dg wakeup process sleeping on a lock.TE.in -5.h 1.3 "Signals.in +5.TSlw(1.6i) aw(3i).<signal.h> signal definitionssigvec set handler for signalkill send signal to processkillpgrp send signal to process groupsigblock block set of signalssigsetmask restore set of blocked signalssigpause wait for signalssigstack set software stack for signals.TE.in -5.h 1.4 "Timing and statistics.in +5.TSlw(1.6i) aw(3i).<sys/time.h> time-related definitionsgettimeofday get current time and timezonesettimeofday set current time and timezonegetitimer read an interval timersetitimer get and set an interval timerprofil profile process.TE.in -5.h 1.5 "Descriptors.in +5.TSlw(1.6i) aw(3i).getdtablesize descriptor reference table sizedup duplicate descriptordup2 duplicate to specified indexclose close descriptorselect multiplex input/outputfcntl control descriptor optionswrap\(dg wrap descriptor with protocol.FS\(dg Not supported in 4.3BSD..FE.TE.in -5.h 1.6 "Resource controls.in +5.TSlw(1.6i) aw(3i).<sys/resource.h> resource-related definitionsgetpriority get process prioritysetpriority set process prioritygetrusage get resource usagegetrlimit get resource limitationssetrlimit set resource limitations.TE.in -5.h 1.7 "System operation support.in +5.TSlw(1.6i) aw(3i).mount mount a device file systemswapon add a swap deviceumount umount a file systemsync flush system cachesreboot reboot a machineacct specify accounting file.TE.in -5.NHSystem facilities.LP.h 2.1 "Generic operations.in +5.TSlw(1.6i) aw(3i).read read datawrite write data<sys/uio.h> scatter-gather related definitionsreadv scattered data inputwritev gathered data output<sys/ioctl.h> standard control operationsioctl device control operation.TE.in -5.h 2.2 "File system.PPOperations marked with a * exist in two forms: as shown,operating on a file name, and operating on a file descriptor,when the name is preceded with a ``f''..in +5.TSlw(1.6i) aw(3i).<sys/file.h> file system definitionschdir change directorychroot change root directorymkdir make a directoryrmdir remove a directoryopen open a new or existing filemknod make a special fileportal\(dg make a portal entryunlink remove a linkstat* return status for a file lstat returned status of linkchown* change ownerchmod* change modeutimes change access/modify timeslink make a hard linksymlink make a symbolic linkreadlink read contents of symbolic linkrename change name of filelseek reposition within filetruncate* truncate fileaccess determine accessibilityflock lock a file.TE.in -5.h 2.3 "Communications.in +5.TSlw(1.6i) aw(3i).<sys/socket.h> standard definitionssocket create socketbind bind socket to namegetsockname get socket namelisten allow queuing of connectionsaccept accept a connectionconnect connect to peer socketsocketpair create pair of connected socketssendto send data to named socketsend send data to connected socketrecvfrom receive data on unconnected socketrecv receive data on connected socketsendmsg send gathered data and/or rightsrecvmsg receive scattered data and/or rightsshutdown partially close full-duplex connectiongetsockopt get socket optionsetsockopt set socket option.TE.in -5.h 2.4 "Terminals, block and character devices.in +5.in -5.h 2.5 "Processes and kernel hooks.in -5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -