|
stat(2) -- get file status
|
These functions return information about the specified file. You do not need any access rights to the file to get this information but you need search rights to all directories named in the path leadi... |
statfs(2) -- get file system statistics
|
statfs returns information about a mounted file system. path is the path name of any file within the mounted filesystem. buf is a pointer to a statfs structure defined as follows: struct statfs { long... |
|
stime(2) -- set time
|
stime sets the system's idea of the time and date. Time, pointed to by t, is measured in seconds from 00:00:00 GMT January 1, 1970. stime() may only be executed by the super user. |
swapon(2) -- start/stop swapping to file/device
|
swapon sets the swap area to the file or block device specified by path. swapoff stops swapping to the file or block device specified by path. swapon takes a swapflags argument. If swapflags has the S... |
symlink(2) -- make a new name for a file
|
symlink creates a symbolic link named newpath which contains the string oldpath. Symbolic links are interpreted at run-time as if the contents of the link had been substituted into the path being foll... |
sync(2) -- commit buffer cache to disk.
|
sync first commits inodes to buffers, and then buffers to disk. |
syscalls(2) -- list of all system calls
|
As of Linux 2.0.34, there are 164 system calls listed in /usr/include/asm/unistd.h. This man page lists them. _llseek(2), _newselect(2), _sysctl(2), access(2), acct(2), adjtimex(2), afs_syscall, alarm... |
sysctl(2) -- read/write system parameters
|
The _sysctl call reads and/or writes kernel parameters. For example, the hostname, or the maximum number of open files. The argument has the form struct __sysctl_args { int *name; /* integer vector de... |
sysfs(2) -- get file system type information
|
sysfs returns information about the file system types currently present in the kernel. The specific form of the sysfs call and the information returned depends on the option in effect: 1 Translate the... |
sysinfo(2) -- returns information on overall system statistics
|
Until Linux 2.3.16, sysinfo used to return information in the following structure: struct sysinfo { long uptime; /* Seconds since boot */ unsigned long loads[3]; /* 1, 5, and 15 minute load averages *... |
syslog(2) -- read and/or clear kernel message ring buffer; set console_loglevel
|
This is probably not the function you are interested in. Look at sys- log(3) for the C library interface. This page only documents the bare kernel system call interface. The type argument determines t... |
time(2) -- get time in seconds
|
time returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds. If t is non-NULL, the return value is also stored in the memory pointed to by t. |
times(2) -- get process times
|
The times() function stores the current process times in the struct tms that buf points to. The struct tms is as defined in : struct tms { clock_t tms_utime; /* user time */ clock_t tms_s... |
truncate(2) -- truncate a file to a specified length
|
Truncate causes the file named by path or referenced by fd to be truncated to at most length bytes in size. If the file previously was larger than this size, the extra data is lost. If the file previo... |
umask(2) -- set file creation mask
|
umask sets the umask to mask & 0777. The umask is used by open(2) to set initial file permissions on a newly-created file. Specifically, permissions in the umask are turned off from the mode argument ... |