|
timer_gettime(2) -- timer operations
|
timer_create() The timer_create() function creates a per-process timer using the specified clock, clock_id, as the timing base. The timer_create() function returns, in the location referenced by timerid, a timer ID of type timer_t used to identify the timer in timer requests. This timer ID will be unique within the calling process until the timer is deleted. The particular clock, clock_id, is defi... |
timer_settime(2) -- timer operations
|
timer_create() The timer_create() function creates a per-process timer using the specified clock, clock_id, as the timing base. The timer_create() function returns, in the location referenced by timerid, a timer ID of type timer_t used to identify the timer in timer requests. This timer ID will be unique within the calling process until the timer is deleted. The particular clock, clock_id, is defi... |
|
times(2) -- get process and child process times
|
times() fills the structure pointed to by buffer with time-accounting information. The structure defined in is as follows: struct tms { clock_t tms_utime; /* user time */ clock_t tms_stime; /* system time */" clock_t tms_cutime; /* user time, children */ clock_t tms_cstime; /* system time, children */ }; This information comes from the calling process and each of its terminated chil... |
truncate(2) -- truncate a file to a specified length
|
The ftruncate() function causes the regular file referenced by fildes to have a size of length bytes. The truncate() function causes the regular file named by path to have a size of length bytes. The effect of ftruncate() and truncate() on other types of files is unspecified. If the file previously was larger than length, the extra data is lost. If it was previously shorter than length, bytes betw... |
truncate64(2) -- non-POSIX standard API interfaces to support large files
|
New API's to support large files in 32-bit applications. These API interfaces are not a part of the POSIX standard and may be removed in the future. creat64() The creat64() function returns a file descriptor which can be used to grow the file past 2 GB if desired. All other functional behaviors, returns, and errors are identical to creat(). fstat64() The fstat64() function is identical to fstat()... |
ttrace(2) -- tracing facility for multithreaded processes
|
The ttrace() system call provides a means by which a process can control the execution of another process. Its primary use is for the implementation of breakpoint and event driven debugging; see adb(1) and dde(1). ttrace() is designed to function for both single and multithreaded traced processes. The traced process behaves normally until one of its threads encounters a signal (see signal(2) for t... |
ttrace_wait(2) -- wait for ttrace event
|
The ttrace_wait() system call provides a means to wait for a ttrace() event to occur. A tracing process (debugger) will normally invoke ttrace_wait() after a process or any of its threads has been set running. ttrace_wait() synchronizes tracing requests directed at threads within the traced process. This mechanism differs from the process-oriented synchronization provided by wait() or waitpid() (s... |
tuneinfo2(2) -- retrieve detailed information about kernel tunable parameters
|
This function provides detailed information about one or all kernel tunable parameters. If a particular parameter is of interest, specify it by name in tunable. Otherwise, set tunable to NULL and information will be returned on all kernel tunable parameters (if the supplied buffer is big enough). version must always be set to TUNEINFO_VERSION. Information about the selected tunable parameters is r... |
ualarm(2) -- set the interval timer
|
The ualarm() function causes the SIGALRM signal to be generated for the calling process after the number of real-time microseconds specified by the useconds argument has elapsed. When the interval argument is non-zero, repeated timeout notification occurs with a period in microseconds specified by the interval argument. If the notification signal, SIGALRM, is not caught or ignored, the calling pro... |
ulimit(2) -- get and set user limits
|
ulimit() provides for control over process limits. Available values for cmd are: UL_GETFSIZE Get the file size limit of the process. The limit is in units of 512-byte blocks and is inherited by child processes. Files of any size can be read. The optional second argument is not used. UL_SETFSIZE Set the file size limit of the process to the value of the optional second argument which is taken as a ... |
umask(2) -- set and get file creation mask
|
umask() sets the process's file mode creation mask to umask() and returns the previous value of the mask. Only the file access permission bits of the masks are used. The bits set in cmask specify which permission bits to turn off in the mode of the created file, and should be specified using the symbolic values defined in stat(5). |
umount(2) -- unmount a file system
|
umount() requests that a previously mounted file system contained on the block special device identified by name be unmounted. name is a pointer to a path name. After unmounting the file system, the directory upon which the file system was mounted reverts to its ordinary interpretation. umount() can also request that a file system mounted previously on the directory identified by name be unmounted... |
uname(2) -- get information about computer system; set node name (system name)
|
uname() The uname() system call places information identifying the computer system in the utsname structure pointed to by name. The utsname structure, defined in , is set up as follows: #define UTSLEN 9 #define SNLEN 15 char sysname[UTSLEN]; char nodename[UTSLEN]; char release[UTSLEN]; char version[UTSLEN]; char machine[UTSLEN]; char idnumber[SNLEN]; Each field is a null-terminated ... |
unlink(2) -- remove directory entry; delete file
|
The unlink() system call removes the directory entry named by the path name pointed to by path. When all links to a file have been removed and no process has the file open, the space occupied by the file is freed and the file ceases to exist. If one or more processes have the file open when the last link is removed, only the directory entry is removed immediately so that processes that do not alre... |
usleep(2) -- suspend execution for an interval
|
The usleep() function will cause the calling thread to be suspended from execution until either the number of real-time microseconds specified by the argument useconds has elapsed, or a signal is delivered to the calling thread and its action is to invoke a signal-catching function or to terminate the process. The suspension time may be longer than requested due to the scheduling of other activiti... |