1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 09:59:04 +00:00

nsedoc for nmap.get_random_uint.

This commit is contained in:
batrick
2011-05-24 00:18:06 +00:00
parent 3b83666a9c
commit 5fc587c20c

View File

@@ -120,6 +120,17 @@ function get_interface_info(interface_name)
-- @return String representing the full path to the file or <code>nil</code>.
function fetchfile(filename)
--- Generates a random unsigned integer.
--
-- This function is generally useful for seeding a random number generator.
-- It is not efficient enough to be used as a random number generator.
--
-- @usage
-- nmap.get_rand_uint() --> 1234567890
-- @return Number A random unsigned integer.
function get_random_uint()
--- Returns the timing level as a non-negative integer.
--
-- Possible return values vary from <code>0</code> to <code>5</code>,