
strtonum | 787
gawk
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
return
return [expr]
Used within a user-defined function to exit the function, returning
the value of expr. The return value of a function is undefined if expr
is not provided.
rshift
rshift(expr, count) {G}
Return the result of shifting expr right by count bits. Both expr and
count should be values that fit in a C unsigned long.
sin
sin(x)
Return the sine of x, an angle in radians.
split
split(string, array [, sep])
Split string into elements of array array[1],…,array[n]. Return the
number of array elements created. The string is split at each occur-
rence of separator sep. If sep is not specified, FS is used.
sprintf
sprintf(format [, expressions])
Return the formatted value of one or more expressions, using the
specified format. Data is formatted but not printed. See “printf
Formats,” later in this chapter, for a description of allowed format
specifiers.
sqrt
sqrt(arg)
Return the square root of arg.
srand
srand([expr])
Use optional expr to set a new seed for the random number gener-
ator. Default is the time of day. Return value is the old seed.
strftime
strftime([format [,timestamp]]) {G}
Format timestamp according to format. Return the formatted
string. The timestamp is a time-of-day value in seconds since
midnight, January 1, 1970, UTC. The format string is similar to
that of