AIX Documentation: Programmer's Reference:
S

Current View: Programmer's Reference
Views: [ Books | Commands | Programmer's Reference | Tasks and Topics ]
?HELP
[Back] Back

Programmer's Reference
S
SASUM Returns the sum of absolute values of vector components.
SAXPY Computes a constant times a vector plus a vector.
SCASUM Returns the sum of absolute values of vector components.
SCNRM2 Computes the Euclidean length of the N-vector stored in X() with storage increment INCX.
SCOPY Copies vector X to Y.
SDOT Returns the dot product of two vectors.
SDSDOT Returns the dot product of two vectors plus a constant.
SGBMV Performs matrix-vector operations with general banded matrices.
SGEMM Performs matrix-matrix operations on general matrices.
SGEMV Performs matrix-vector operation with general matrices.
SGER Performs the rank 1 operation.
SNRM2 Computes the Euclidean length of the N-vector stored in X() with storage increment INCX.
SROT Applies a plane rotation.
SROTG Constructs Givens plane rotation.
SROTM Applies the modified Givens transformation.
SROTMG Constructs a modified Givens transformation.
SSBMV Performs matrix-vector operations using symmetric band matrix.
SSCAL Scales a vector by a constant.
SSPMV Performs matrix-vector operations using a packed symmetric matrix.
SSPR Performs the symmetric rank 1 operation.
SSPR2 Performs the symmetric rank 2 operation.
SSWAP Interchanges vectors X and Y.
SSYMM Performs matrix-matrix matrix operations on symmetric matrices.
SSYMV Performs matrix-vector operations using a symmetric matrix.
SSYR Performs the symmetric rank 1 operation.
SSYR2 Performs the symmetric rank 2 operation.
SSYR2K Performs symmetric rank 2k operations.
SSYRK Perform symmetric rank k operations.
STBMV Performs matrix-vector operations using a triangular band matrix.
STBSV Solves system of equations.
STPMV Performs matrix-vector operations on a packed triangular matrix.
STPSV Solves systems of equations.
STRMM Performs matrix-matrix operations on triangular matrices.
STRMV Performs matrix-vector operations using a triangular matrix.
STRSM Solves certain matrix equations.
STRSV Solves system of equations.
SYS_CFGDD Calls a previously loaded device driver at its module entry point.
SYS_CFGKMOD Invokes a previously loaded kernel object file at its module entry point.
SYS_GETPARMS Copies the system parameter structure into a user-specified buffer.
SYS_KLOAD Loads a kernel extension into the kernel.
SYS_KULOAD Unloads a loaded kernel object file and any imported kernel object files that were loaded with it.
SYS_QDVSW Checks the status of a device switch entry in the device switch table.
SYS_QUERYLOAD Determines if a kernel object file has already been loaded.
SYS_SETPARMS Sets the kernel run-time tunable parameters.
SYS_SINGLELOAD Loads a kernel extension module if it is not already loaded.
s_generic Sets the value of the Management Information Base (MIB) variable in the database.
sad Provides an interface for administrative operations.
savetty Saves/restores the terminal mode.
sbrk Changes data segment space allocation.
scalbln Computes the exponent using FLT_RADIX=2.
scalblnf Computes the exponent using FLT_RADIX=2.
scalblnl Computes the exponent using FLT_RADIX=2.
scalbn Computes the exponent using FLT_RADIX=2.
scalbnf Computes the exponent using FLT_RADIX=2.
scalbnl Computes the exponent using FLT_RADIX=2.
scandir Scans or sorts directory contents.
scanf Converts formatted input.
scanw Calls the wgetstr subroutine on a window and uses the resulting line as input for a scan.
sched_yield Yield processor.
scr_dump File input/output functions.
scr_init File input/output functions.
scr_restore File input/output functions.
scr_set File input/output functions.
scrl Scrolls a Curses window.
scroll Scrolls a Curses window.
scrollok Terminal output control subroutines.
sdiv Multiple-precision integer arithmetic.
seed48 Generate uniformly distributed pseudo-random number sequences.
seed48_r Generate uniformly distributed pseudo-random number sequences.
seekdir Performs operations on directories.
select Allows data to be sent using a file descriptor.
semctl Controls semaphore operations.
semget Gets a set of semaphores.
semop Performs semaphore operations.
send Sends messages from a connected socket.
send_file Sends the contents of a file through a socket.
sendmsg Sends a message from a socket using a message structure.
sendto Sends messages through a socket.
set_auth_method Sets the authentication methods for the rcmds for this system.
set_curterm Interfaces to the terminfo database.
set_speed Set and get the terminal baud rate.
set_term Switches between screens.
setacldb Opens and closes the SMIT ACL database.
setbuf Assigns buffering to a stream.
setbuffer Assigns buffering to a stream.
setcontext Initializes the structure pointed to by ucp to the context of the calling process.
setcsmap Reads a code-set map file and assigns it to the standard input device.
setdomainname Sets the name of the current domain.
setegid Sets the process group IDs.
seteuid Sets the process user IDs.
setfsent Gets information about a file system.
setfsent_r Gets information about a file system.
setgid Sets the process group IDs.
setgidx Sets the process group IDs.
setgrent Accesses the basic group information in the user database.
setgroups Sets the supplementary group ID of the current process.
sethostent Opens network host file.
sethostent_r Opens network host file.
sethostid Sets the unique identifier of the current host.
sethostname Sets the name of the current host.
setitimer Manipulates the expiration time of interval timers.
setjmp Saves and restores the current execution context.
setkey Encrypts or decrypts data.
setkey_r Encrypts or decrypts data.
setlinebuf Assigns buffering to a stream.
setlocale Changes or queries the program's entire current locale or portions thereof.
setlogmask Controls the system log.
setlogmask_r Controls the system log.
setnetent Opens the /etc/networks file and sets the file marker.
setnetent_r Opens the /etc/networks file and sets the file marker.
setnetgrent Handles the group network entries.
setnetgrent_r Handles the group network entries.
setpcred Sets the current process credentials.
setpenv Sets the current process environment.
setpgid Sets the process group ID.
setpgrp Sets the process group ID.
setpri Sets a process scheduling priority to a constant value.
setpriority Gets or sets the nice value.
setprotoent Opens the /etc/protocols file and sets the file marker.
setprotoent_r Opens the /etc/protocols file and sets the file marker.
setpwdb Opens or closes the authentication database.
setpwent Accesses the basic user information in the user database.
setpwent_r Accesses the basic user information in the user database.
setregid Sets the process group IDs.
setreuid Sets the process user IDs.
setrgid Sets the process group IDs.
setrlimit Controls maximum system resource consumption.
setrlimit64 Controls maximum system resource consumption.
setroledb Opens and closes the role database.
setrpcent Accesses the /etc/rpc file.
setrpcent_r Accesses the /etc/rpc file.
setruid Sets the process user IDs.
setscrreg Terminal output control subroutines.
setservent Opens /etc/services file and sets the file marker.
setservent_r Opens /etc/services file and sets the file marker.
setsid Creates a session and sets the process group ID.
setsockopt Sets socket options.
setstate Generates pseudo-random numbers more efficiently.
setsyx Sets the coordinates of the virtual screen cursor.
settimeofday Displays, gets and sets date and time.
settimer Gets or sets the current value for the specified systemwide timer.
setttyent Gets a tty description file entry.
setuid Sets the process user IDs.
setuidx Sets the process user IDs.
setupterm Interfaces to the terminfo database.
setuserdb Opens and closes the user database.
setutent Accesses utmp file entries.
setvbuf Assigns buffering to a stream.
setvfsent Gets a vfs file entry.
sgetl Accesses long numeric data in a machine-independent fashion.
shmat Attaches a shared memory segment or a mapped file to the current process.
shmctl Controls shared memory operations.
shmdt Detaches a shared memory segment.
shmget Gets shared memory segments.
shutdown Shuts down all socket send and receive operations.
sigaction Specifies the action to take upon delivery of a signal.
sigaddset Creates and manipulates signal masks.
sigaltstack Allows a thread to define and examine the state of an alternate stack for signal handlers.
sigblock Sets the current signal mask.
sigdelset Creates and manipulates signal masks.
sigemptyset Creates and manipulates signal masks.
sigfillset Creates and manipulates signal masks.
sighold Enhance the signal facility and provide signal management.
sigignore Enhance the signal facility and provide signal management.
siginterrupt Sets restart behavior with respect to signals and subroutines.
sigismember Creates and manipulates signal masks.
siglongjmp Saves or restores stack context and signal mask.
signal Specifies the action to take upon delivery of a signal.
signbit Tests the sign.
sigpause Automatically changes the set of blocked signals and waits for a signal.
sigpending Returns a set of signals that are blocked from delivery.
sigprocmask Sets the current signal mask.
sigrelse Enhance the signal facility and provide signal management.
sigset Enhance the signal facility and provide signal management.
sigsetjmp Saves or restores stack context and signal mask.
sigsetmask Sets the current signal mask.
sigstack Sets and gets signal stack context.
sigsuspend Automatically changes the set of blocked signals and waits for a signal.
sigthreadmask Sets the signal mask of a thread.
sigvec Specifies the action to take upon delivery of a signal.
sigwait Blocks the calling thread until a specified signal is received.
sin Computes the sine.
sinf Computes the sine.
sinh Computes hyperbolic sine.
sinhf Computes hyperbolic sine.
sinhl Computes hyperbolic sine.
sinl Computes the sine.
sleep Suspends a current process from execution.
slk_attr_off Soft label subroutines.
slk_attr_set Soft label subroutines.
slk_attroff Soft label subroutines.
slk_attron Soft label subroutines.
slk_attrset Soft label subroutines.
slk_clear Soft label subroutines.
slk_color Soft label subroutines.
slk_init Soft label subroutines.
slk_label Soft label subroutines.
slk_noutrefresh Soft label subroutines.
slk_refresh Soft label subroutines.
slk_restore Soft label subroutines.
slk_set Soft label subroutines.
slk_touch Soft label subroutines.
slk_wset Soft label subroutines.
smux_close Ends communications with the SNMP agent.
smux_error Creates a readable string from the smux_errno global variable value.
smux_free_tree Frees the object tree when a smux tree is unregistered.
smux_init Initiates the transmission control protocol (TCP) socket that the SNMP multiplexing (SMUX) agent uses and clears the basic SMUX data structures.
smux_register Registers a section of the Management Information Base (MIB) tree with the Simple Network Management Protocol (SNMP) agent.
smux_response Sends a response to a Simple Network Management Protocol (SNMP) agent.
smux_simple_open Sends the open protocol data unit (PDU) to the Simple Network Management Protocol (SNMP) daemon.
smux_trap Sends SNMP multiplexing (SMUX) peer traps to the Simple Network Management Protocol (SNMP) agent.
smux_wait Waits for a message from the Simple Network Management Protocol (SNMP) agent.
snprintf Prints formatted output.
socket Creates an end point for communication and returns a descriptor.
socketpair Creates a pair of connected sockets.
socks5_getserv Return the address of the SOCKSv5 server (if any) to use when connecting to a given destination.
socks5c_conf Contains mappings between network destinations and SOCKSv5 servers.
socks5tcp_accept Awaits an incoming connection to a socket from a previous socks5tcp_bind() call.
socks5tcp_bind Connect to a SOCKSv5 server and request a listening socket for incoming remote connections.
socks5tcp_connect Connect to a SOCKSv5 server and request a connection to an external destination.
socks5udp_associate Connects to a SOCKSv5 server, and requests a UDP association for subsequent UDP socket communications.
socks5udp_sendto Send UDP packets through a SOCKSv5 server.
splice Lets the protocol stack manage two sockets that use TCP.
splstr Sets the processor level.
splx Terminates a section of code.
spmiaddsethot Adds a set of peer statistics values to a hotset.
spmicreatehotset Creates an empty hotset.
spmicreatestatset Creates an empty set of statistics.
spmiddsaddcx Adds a volatile context to the contexts defined by an application.
spmiddsdelcx Deletes a volatile context.
spmiddsinit Establishes a program as a dynamic data-supplier (DDS) program.
spmidelsethot Removes a single set of peer statistics from a hotset.
spmidelsetstat Removes a single statistic from a set of statistics.
spmiexit Terminates a dynamic data supplier (DDS) or local data consumer program's association with the SPMI, and releases allocated memory.
spmifirstcx Locates the first subcontext of a context.
spmifirsthot Locates the first of the sets of peer statistics belonging to a hotset.
spmifirststat Locates the first of the statistics belonging to a context.
spmifirstvals Returns a pointer to the first SpmiStatVals structure belonging to a set of statistics.
spmifreehotset Erases a hotset.
spmifreestatset Erases a set of statistics.
spmigetcx Returns a pointer to the structure corresponding to a specified context handle.
spmigethotset Requests the SPMI to read the data values for all sets of peer statistics belonging to a specified .
spmigetstat Returns a pointer to the structure corresponding to a specified statistic handle.
spmigetstatset Requests the SPMI to read the data values for all statistics belonging to a specified set.
spmigetvalue Returns a decoded value based on the type of data value extracted from the data field of an structure.
spmiinit Initializes the SPMI for a local data consumer program.
spmiinstantiate Explicitly instantiates the subcontexts of an instantiable context.
spminextcx Locates the next subcontext of a context.
spminexthot Locates the next set of peer statistics .
spminexthotitem Locates and decodes the next .
spminextstat Locates the next statistic belonging to a context.
spminextvals Returns a pointer to the next structure in a set of statistics.
spminextvalue Returns either the first structure in a set of statistics or the next SpmiStatVals structure in a set of statistics and a decoded value based on the type of data value extracted from the data field of an SpmiStatVals structure.
spmipathaddsetstat Adds a statistics value to a set of statistics.
spmipathgetcx Returns a handle to use when referencing a context.
spmistatgetpath Returns the full path name of a statistic.
sprintf Prints formatted output.
sprintoid Manipulates the object identifier data structure.
sputl Accesses long numeric data in a machine-independent fashion.
sqrt Computes the square root.
sqrtf Computes the square root.
sqrtl Computes the square root.
srand Generates pseudo-random numbers.
srand48 Generate uniformly distributed pseudo-random number sequences.
srand48_r Generate uniformly distributed pseudo-random number sequences.
srandom Generates pseudo-random numbers more efficiently.
src_err_msg Retrieves a System Resource Controller (SRC) error message.
src_err_msg_r Gets the System Resource Controller (SRC) error message corresponding to the specified SRC error code.
srcrrqs Gets subsystem reply information from the System Resource Controller (SRC) request received.
srcrrqs_r Copies the System Resource Controller (SRC) request header to the specified buffer. The SRC request header contains the return address where the caller sends responses for this request.
srcsbuf Gets status for a subserver or a subsystem and returns status text to be printed.
srcsbuf_r Gets status for a subserver or a subsystem and returns status text to be printed.
srcsrpy Sends a reply to a request from the System Resource Controller (SRC) back to the client process.
srcsrqt Sends a request to a subsystem.
srcsrqt_r Sends a request to a subsystem.
srcstat Gets short status on one or more subsystems.
srcstat_r Gets short status on a subsystem.
srcstathdr Gets the title line of the System Resource Controller (SRC) status text.
srcstattxt Gets the System Resource Controller (SRC) status text representation for a status code.
srcstattxt_r Gets the status text representation for an SRC status code.
srcstop Stops a System Resource Controller (SRC) subsystem.
srcstrt Starts a System Resource Controller (SRC) subsystem.
srv Services queued messages for STREAMS modules or drivers.
sscanf Converts formatted input.
ssignal Implements a software signal facility.
standend Sets and clears window attributes.
standout Sets and clears window attributes.
start_color Color manipulation functions and external variables for color support.
stat Provides information about a file.
stat64 Provides information about a file.
statacl Retrieves the access control information for a file.
statfs Gets file system statistics.
statvfs Returns information about a file system.
statx Provides information about a file.
step Compiles and matches regular-expression patterns. Note Commands use the regcomp, regexec, regfree, and regerror subroutines for the functions described in this article.
stime Gets or sets the current value for the specified systemwide timer.
store Places data under a key.
str2oid Manipulates the object identifier data structure.
str_install Installs streams modules and drivers.
strcasecmp Compares strings in memory.
strcat Copies and appends strings in memory.
strchr Determines the size, location, and existence of strings in memory.
strcmp Compares strings in memory.
strcoll Compares strings in memory.
strcpy Copies and appends strings in memory.
strcspn Determines the size, location, and existence of strings in memory.
strdup Copies and appends strings in memory.
streamio Perform a variety of control functions on streams.
strerror Maps an error number to an error message string.
strfmon Formats monetary strings.
strftime Formats time and date.
strlen Determines the size, location, and existence of strings in memory.
strlog Generates STREAMS error-logging and event-tracing messages.
strncasecmp Compares strings in memory.
strncat Copies and appends strings in memory.
strncmp Compares strings in memory.
strncollen Returns the number of collation values for a given string.
strncpy Copies and appends strings in memory.
strpbrk Determines the size, location, and existence of strings in memory.
strptime Converts a character string to a time value.
strqget Obtains information about a queue or band of the queue.
strrchr Determines the size, location, and existence of strings in memory.
strspn Determines the size, location, and existence of strings in memory.
strstr Determines the size, location, and existence of strings in memory.
strtod Converts an ASCII string to a floating-point or double floating-point number.
strtof Converts an ASCII string to a floating-point or double floating-point number.
strtoimax Converts string to integer type.
strtok Determines the size, location, and existence of strings in memory.
strtok_r Breaks a string into a sequence of tokens
strtol Converts a string to a signed or unsigned long integer or long long integer.
strtold Converts an ASCII string to a floating-point or double floating-point number.
strtoll Converts a string to a signed or unsigned long integer or long long integer.
strtoul Converts a string to a signed or unsigned long integer or long long integer.
strtoull Converts a string to a signed or unsigned long integer or long long integer.
strtoumax Converts string to integer type.
strxfrm Copies and appends strings in memory.
stty Sets or gets terminal state.
subpad Pad management functions
subwin Window creation subroutines.
svc_destroy Destroys a Remote Procedure Call (RPC) service transport handle.
svc_freeargs Frees data allocated by the Remote Procedure Call/eXternal Data Representation (RPC/XDR) system.
svc_getargs Decodes the arguments of a Remote Procedure Call (RPC) request.
svc_getcaller Gets the network address of the caller of a procedure.
svc_getreqset Services a Remote Procedure Call (RPC) request.
svc_register Maps a remote procedure.
svc_run Waits for a Remote Procedure Call service request to arrive.
svc_sendreply Sends back the results of a remote procedure call.
svc_unregister Removes mappings between procedures and objects.
svcerr_auth Indicates that the service dispatch routine cannot complete a remote procedure call due to an authentication error.
svcerr_decode Indicates that the service dispatch routine cannot decode the parameters of a request.
svcerr_noproc Indicates that the service dispatch routine cannot complete a remote procedure call because the program cannot support the requested procedure.
svcerr_noprog Indicates that the service dispatch routine cannot complete a remote procedure call because the requested program is not registered.
svcerr_progvers Indicates that the service dispatch routine cannot complete the remote procedure call because the requested program version is not registered.
svcerr_systemerr Indicates that the service dispatch routine cannot complete the remote procedure call due to an error that is not covered by a protocol.
svcerr_weakauth Indicates that the service dispatch routine cannot complete the remote procedure call due to insufficient authentication security parameters.
svcfd_create Creates a service on any open file descriptor.
svcraw_create Creates a toy Remote Procedure Call (RPC) service transport handle for simulation.
svctcp_create Creates a Transmission Control Protocol/Internet Protocol (TCP/IP) service transport handle.
svcudp_create Creates a User Datagram Protocol/Internet Protocol (UDP/IP) service transport handle.
swab Copies bytes.
swapcontext Modifies the context specified by ucp.
swapoff Deactivates paging or swapping to a designated block device.
swapon Activates paging or swapping to a designated block device.
swapqry Returns paging device status.
swprintf Print formatted wide-character output.
swscanf Convert formatted wide-character input
symlink Makes a symbolic link to a file.
sync Updates all file systems.
sys_parm Provides a service for examining or setting kernel run-time tunable parameters.
sys_syglist Prints system signal messages.
sysconf Determines the current value of a specified system limit or option.
sysconfig Provides a service for controlling system/kernel configuration.
syslog Controls the system log.
syslog_r Controls the system log.
system Runs a shell command.