diff --git a/doc/builtin/_verify_internals b/doc/builtin/_verify_internals new file mode 100644 index 0000000000000000000000000000000000000000..b1793ffed5e8f006536c66a122d82dfe11633876 --- /dev/null +++ b/doc/builtin/_verify_internals @@ -0,0 +1,13 @@ +NAME + _verify_internals - check uLPC internals + +SYNTAX + void _verify_internals(); + +DESCRIPTION + This function goes through most of the internal uLPC structures and + generates a fatal error if one of them is found to be out of order. + It is only used for debugging. + +KEYWORDS + debugging diff --git a/doc/builtin/call_out b/doc/builtin/call_out deleted file mode 100644 index 6eccf4ad52d699ec35fa1bbded0fbf4a5fd4886a..0000000000000000000000000000000000000000 --- a/doc/builtin/call_out +++ /dev/null @@ -1,12 +0,0 @@ -NAME - call_out - make a delayed call to a function - -SYNTAX - void call_out(function f, int delay, mixed ... args); - -DESCRIPTION - Call_out places a call to the function f with the argument args - in a queue to be called in about delay seconds. - -SEE ALSO - remove_call_out, find_call_out, call_out_info diff --git a/doc/builtin/call_out_info b/doc/builtin/call_out_info deleted file mode 100644 index 1b20ed39627716e8aebe55bc65cbafca6458929e..0000000000000000000000000000000000000000 --- a/doc/builtin/call_out_info +++ /dev/null @@ -1,22 +0,0 @@ -NAME - call_out_info - get info about all call outs - -SYNTAX - mixed **call_out_info(); - -DESCRIPTION - This function returns an array with one entry for each entry in the - call out queue. The first in the queue will be in index 0. Each index - contains an array that looks like this: - - ({ - time_left, /* an int */ - caller, /* the object that made the call out */ - function, /* the function to be called */ - arg1, /* the first argument, if any */ - arg2, /* the second argument, if any */ - ... /* and so on... */ - }) - -SEE ALSO - call_out, find_call_out, remove_call_out diff --git a/doc/builtin/find_call_out b/doc/builtin/find_call_out deleted file mode 100644 index 39e39cc45623d174d909bfd9f8c2b597b20ab876..0000000000000000000000000000000000000000 --- a/doc/builtin/find_call_out +++ /dev/null @@ -1,13 +0,0 @@ -NAME - find_call_out - find a call out in the queue - -SYNTAX - int find_call_out(function f); - -DESCRIPTION - This function searches the call out queue, and returns the time left - to this call out will be done in seconds. If no call is found, - zero_type(find_call_out(f)) will return 1. - -SEE ALSO - call_out, remove_call_out, call_out_info diff --git a/doc/builtin/glob b/doc/builtin/glob new file mode 100644 index 0000000000000000000000000000000000000000..a820278ff3ee4e737be4b0934a8af67f2563c89f --- /dev/null +++ b/doc/builtin/glob @@ -0,0 +1,17 @@ +NAME + glob - match strings against globs + +SYNTAX + int glob(string glob, string str); + or + string *glob(string glob, string *arr); + +DESCRIPTION + This function matches "globs". A in the glob string a question sign + matches any character and an asterisk matches any string. When + given two strings as argument a true/false value is returned + which reflects if the 'str' matches 'glob'. When given an array as + second argument, an array containing all matching strings is returned. + +SEE ALSO + sscanf, regexp diff --git a/doc/builtin/localtime b/doc/builtin/localtime new file mode 100644 index 0000000000000000000000000000000000000000..99f5c20b01003dc808ea37cd273c9e22fffce26a --- /dev/null +++ b/doc/builtin/localtime @@ -0,0 +1,29 @@ +NAME + localtime - break down time() into intelligible components + +SYNTAX + mapping(string:int) localtime(int time); + +DESCRIPTION + Given a time represented as second since 1970, as returned by the + function time(), this function returns a mapping with the following + components: + + sec seconds over the minute 0 - 59 + min minutes over the hour 0 - 59 + hour what hour in the day 0 - 23 + mday day of the month 1 - 31 + mon what month 0 - 11 + year years since 1900 0 - + wday day of week (0=sunday) 0 - 6 + yday day of year 0 - 365 + isdst is daylight saving time 0/1 + timezone differance between + local time and UTC + + +NOTA BENE + The 'timezone' might not be available on all platforms. + +SEE ALSO + time \ No newline at end of file diff --git a/doc/builtin/remove_call_out b/doc/builtin/remove_call_out deleted file mode 100644 index 277cc9eb0a2bd30f93927a221591ca394f776116..0000000000000000000000000000000000000000 --- a/doc/builtin/remove_call_out +++ /dev/null @@ -1,14 +0,0 @@ -NAME - remove_call_out - remove a call out from the call out queue - -SYNTAX - int remove_call_out(function f); - -DESCRIPTION - This function finds the first call to the function f in the call - out queue and removes it. The time left to that call out will be - returned. If no call out was found, zero_type(remove_call_out(f)) - will return 1. - -SEE ALSO - call_out_info, call_out, find_call_out