From 20cc39d443d1a2c364b0fb778c7813ae7b5a1dd6 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 11 Dec 2018 17:42:39 +0100 Subject: Add "since" attributes in xml for new functions and modules introduced after OTP_R13B03. --- erts/doc/src/atomics.xml | 22 +-- erts/doc/src/counters.xml | 16 +- erts/doc/src/erl_driver.xml | 30 ++-- erts/doc/src/erl_nif.xml | 336 +++++++++++++++++++-------------------- erts/doc/src/erl_prim_loader.xml | 2 +- erts/doc/src/erl_tracer.xml | 40 ++--- erts/doc/src/erlang.xml | 100 ++++++------ erts/doc/src/persistent_term.xml | 12 +- erts/doc/src/zlib.xml | 12 +- 9 files changed, 285 insertions(+), 285 deletions(-) (limited to 'erts/doc/src') diff --git a/erts/doc/src/atomics.xml b/erts/doc/src/atomics.xml index 3fca92fb97..46231d9234 100644 --- a/erts/doc/src/atomics.xml +++ b/erts/doc/src/atomics.xml @@ -23,7 +23,7 @@ atomics - atomics + atomics Atomic Functions

This module provides a set of functions to do atomic operations towards @@ -70,7 +70,7 @@ - + Create atomic array

Create a new atomic array of Arity atomics.

@@ -89,7 +89,7 @@ - + Set atomic value

Set atomic to Value.

@@ -97,7 +97,7 @@
- + Read atomic value

Read atomic value.

@@ -105,7 +105,7 @@
- + Add to atomic

Add Incr to atomic.

@@ -113,7 +113,7 @@
- + Atomic add and get

Atomic addition and return of the result.

@@ -121,7 +121,7 @@
- + Subtract from atomic

Subtract Decr from atomic.

@@ -129,7 +129,7 @@
- + Atomic sub and get

Atomic subtraction and return of the result.

@@ -137,7 +137,7 @@
- + Atomic exchange.

Atomically replaces the value of the atomic with @@ -147,7 +147,7 @@ - + Atomic compare and exchange.

Atomically compares the atomic with Expected, @@ -158,7 +158,7 @@ - + Get information about atomic array.

Return information about an atomic array in a map. The map diff --git a/erts/doc/src/counters.xml b/erts/doc/src/counters.xml index ba4a22759f..c3b0bfcf85 100644 --- a/erts/doc/src/counters.xml +++ b/erts/doc/src/counters.xml @@ -23,7 +23,7 @@ counters - counters + counters Counter Functions

This module provides a set of functions to do operations towards @@ -71,7 +71,7 @@ - + Create counter array

Create a new counter array of Size counters.

@@ -107,7 +107,7 @@
- + Read counter value

Read counter value.

@@ -115,7 +115,7 @@
- + Add to counter

Add Incr to counter at index @@ -124,7 +124,7 @@ - + Subtract from counter

Subtract Decr from counter at index @@ -133,7 +133,7 @@ - + Set counter to value

Write Value to counter at index @@ -144,14 +144,14 @@ operation compared to the very lightweight and scalable add and sub. The cost for a put with - write_concurrency is lika a get + write_concurrency is like a get plus a put without write_concurrency.

- + Get information about counter array.

Return information about a counter array in a map. The map diff --git a/erts/doc/src/erl_driver.xml b/erts/doc/src/erl_driver.xml index 7055889e4a..f2aea77dee 100644 --- a/erts/doc/src/erl_driver.xml +++ b/erts/doc/src/erl_driver.xml @@ -1076,7 +1076,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - unsigned intdriver_async_port_key(ErlDrvPort + unsigned intdriver_async_port_key(ErlDrvPort port) Calculate an async key from an ErlDrvPort. @@ -1755,7 +1755,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvSizeTdriver_peekqv(ErlDrvPort port, + ErlDrvSizeTdriver_peekqv(ErlDrvPort port, ErlIOVec *ev) Get the driver queue as an I/O vector. @@ -2029,7 +2029,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_busy_msgq_limits(ErlDrvPort port, + voiderl_drv_busy_msgq_limits(ErlDrvPort port, ErlDrvSizeT *low, ErlDrvSizeT *high) Set and get limits for busy port message queue. @@ -2128,7 +2128,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - char *erl_drv_cond_name(ErlDrvCond + char *erl_drv_cond_name(ErlDrvCond *cnd) Get name of driver mutex. @@ -2185,7 +2185,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - interl_drv_consume_timeslice(ErlDrvPort port, + interl_drv_consume_timeslice(ErlDrvPort port, int percent) Give the runtime system a hint about how much CPU time the current driver callback call has consumed. @@ -2228,7 +2228,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvTimeerl_drv_convert_time_unit(ErlDrvTime + ErlDrvTimeerl_drv_convert_time_unit(ErlDrvTime val, ErlDrvTimeUnit from, ErlDrvTimeUnit to) Convert time unit of a time value. @@ -2317,7 +2317,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_init_ack(ErlDrvPort port, + voiderl_drv_init_ack(ErlDrvPort port, ErlDrvData res) Acknowledge the start of the port. @@ -2345,7 +2345,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvTime + ErlDrvTime erl_drv_monotonic_time(ErlDrvTimeUnit time_unit) Get Erlang monotonic time. @@ -2414,7 +2414,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - char *erl_drv_mutex_name(ErlDrvMutex + char *erl_drv_mutex_name(ErlDrvMutex *mtx) Get name of driver mutex. @@ -2460,7 +2460,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - interl_drv_output_term(ErlDrvTermData port, + interl_drv_output_term(ErlDrvTermData port, ErlDrvTermData* term, int n) Send term data from driver to port owner. @@ -2699,7 +2699,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - char *erl_drv_rwlock_name(ErlDrvRWLock + char *erl_drv_rwlock_name(ErlDrvRWLock *rwlck) Get name of driver mutex. @@ -2819,7 +2819,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - interl_drv_send_term(ErlDrvTermData port, + interl_drv_send_term(ErlDrvTermData port, ErlDrvTermData receiver, ErlDrvTermData* term, int n) Send term data to other process than port owner process. @@ -2843,7 +2843,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_set_os_pid(ErlDrvPort port, + voiderl_drv_set_os_pid(ErlDrvPort port, ErlDrvSInt pid) Set the os_pid for the port. @@ -2962,7 +2962,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - char *erl_drv_thread_name(ErlDrvTid + char *erl_drv_thread_name(ErlDrvTid tid) Get name of driver mutex. @@ -3031,7 +3031,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - ErlDrvTimeerl_drv_time_offset(ErlDrvTimeUnit + ErlDrvTimeerl_drv_time_offset(ErlDrvTimeUnit time_unit) Get current time offset. diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index bbc12b0a56..53ef3675d8 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -998,7 +998,7 @@ typedef struct { - ErlNifEnv *enif_alloc_env() + ErlNifEnv *enif_alloc_env() Create a new environment.

Allocates a new process independent environment. The environment can @@ -1012,7 +1012,7 @@ typedef struct { - void *enif_alloc_resource(ErlNifResourceType* + void *enif_alloc_resource(ErlNifResourceType* type, unsigned size) Allocate a memory-managed resource object. @@ -1022,7 +1022,7 @@ typedef struct { - size_tenif_binary_to_term(ErlNifEnv *env, + size_tenif_binary_to_term(ErlNifEnv *env, const unsigned char* data, size_t size, ERL_NIF_TERM *term, ErlNifBinaryToTerm opts) Create a term from the external format. @@ -1047,7 +1047,7 @@ typedef struct { - voidenif_clear_env(ErlNifEnv* env) + voidenif_clear_env(ErlNifEnv* env) Clear an environment for reuse. @@ -1058,7 +1058,7 @@ typedef struct { - int + int enif_compare(ERL_NIF_TERM lhs, ERL_NIF_TERM rhs) Compare two terms. @@ -1073,7 +1073,7 @@ typedef struct { - intenif_compare_monitors(const ErlNifMonitor + intenif_compare_monitors(const ErlNifMonitor *monitor1, const ErlNifMonitor *monitor2) Compare two monitors. @@ -1088,7 +1088,7 @@ typedef struct { - void + void enif_cond_broadcast(ErlNifCond *cnd) @@ -1098,7 +1098,7 @@ typedef struct { - ErlNifCond * + ErlNifCond * enif_cond_create(char *name) @@ -1108,7 +1108,7 @@ typedef struct { - void + void enif_cond_destroy(ErlNifCond *cnd) @@ -1118,7 +1118,7 @@ typedef struct { - char* + char* enif_cond_name(ErlNifCond* cnd) @@ -1128,7 +1128,7 @@ typedef struct { - void + void enif_cond_signal(ErlNifCond *cnd) @@ -1138,7 +1138,7 @@ typedef struct { - void + void enif_cond_wait(ErlNifCond *cnd, ErlNifMutex *mtx) @@ -1149,7 +1149,7 @@ typedef struct { - int + int enif_consume_timeslice(ErlNifEnv *env, int percent) @@ -1184,7 +1184,7 @@ typedef struct { - ErlNifTimeenif_convert_time_unit(ErlNifTime + ErlNifTimeenif_convert_time_unit(ErlNifTime val, ErlNifTimeUnit from, ErlNifTimeUnit to) Convert time unit of a time value. @@ -1209,7 +1209,7 @@ typedef struct { - ERL_NIF_TERM + ERL_NIF_TERM enif_cpu_time(ErlNifEnv *) @@ -1225,8 +1225,8 @@ typedef struct { - intenif_demonitor_process(ErlNifEnv* caller_env, void* obj, - const ErlNifMonitor* mon) + intenif_demonitor_process(ErlNifEnv* caller_env, + void* obj, const ErlNifMonitor* mon) Cancel a process monitor. @@ -1252,7 +1252,7 @@ typedef struct { - int + int enif_equal_tids(ErlNifTid tid1, ErlNifTid tid2) @@ -1263,7 +1263,7 @@ typedef struct { - intenif_fprintf(FILE *stream, const char *format, ...) + intenif_fprintf(FILE *stream, const char *format, ...) Format strings and Erlang terms.

Similar to fprintf but this format string also accepts @@ -1285,7 +1285,7 @@ typedef struct { - void + void enif_free_env(ErlNifEnv* env) Free an environment allocated with enif_alloc_env. @@ -1296,7 +1296,7 @@ typedef struct { - void + void enif_free_iovec(ErlNifIOvec* iov) Free an ErlIOVec @@ -1321,7 +1321,7 @@ enif_free_iovec(iovec);]]> - intenif_get_atom(ErlNifEnv* env, ERL_NIF_TERM + intenif_get_atom(ErlNifEnv* env, ERL_NIF_TERM term, char* buf, unsigned size, ErlNifCharEncoding encode) Get the text representation of an atom term. @@ -1337,7 +1337,7 @@ enif_free_iovec(iovec);]]> - intenif_get_atom_length(ErlNifEnv* env, + intenif_get_atom_length(ErlNifEnv* env, ERL_NIF_TERM term, unsigned* len, ErlNifCharEncoding encode) Get the length of atom term. @@ -1351,7 +1351,7 @@ enif_free_iovec(iovec);]]> - intenif_get_double(ErlNifEnv* env, + intenif_get_double(ErlNifEnv* env, ERL_NIF_TERM term, double* dp) Read a floating-point number term. @@ -1373,7 +1373,7 @@ enif_free_iovec(iovec);]]> - intenif_get_int64(ErlNifEnv* env, ERL_NIF_TERM + intenif_get_int64(ErlNifEnv* env, ERL_NIF_TERM term, ErlNifSInt64* ip) Read a 64-bit integer term. @@ -1384,7 +1384,7 @@ enif_free_iovec(iovec);]]> - intenif_get_local_pid(ErlNifEnv* env, + intenif_get_local_pid(ErlNifEnv* env, ERL_NIF_TERM term, ErlNifPid* pid) Read a local pid term. @@ -1396,7 +1396,7 @@ enif_free_iovec(iovec);]]> - intenif_get_local_port(ErlNifEnv* env, + intenif_get_local_port(ErlNifEnv* env, ERL_NIF_TERM term, ErlNifPort* port_id) Read a local port term. @@ -1420,7 +1420,7 @@ enif_free_iovec(iovec);]]> - intenif_get_list_length(ErlNifEnv* env, + intenif_get_list_length(ErlNifEnv* env, ERL_NIF_TERM term, unsigned* len) Get the length of list term. @@ -1431,7 +1431,7 @@ enif_free_iovec(iovec);]]> - intenif_get_long(ErlNifEnv* env, ERL_NIF_TERM + intenif_get_long(ErlNifEnv* env, ERL_NIF_TERM term, long int* ip) Read a long integer term. @@ -1442,7 +1442,7 @@ enif_free_iovec(iovec);]]> - intenif_get_map_size(ErlNifEnv* env, + intenif_get_map_size(ErlNifEnv* env, ERL_NIF_TERM term, size_t *size) Read the size of a map term. @@ -1454,7 +1454,7 @@ enif_free_iovec(iovec);]]> - intenif_get_map_value(ErlNifEnv* env, + intenif_get_map_value(ErlNifEnv* env, ERL_NIF_TERM map, ERL_NIF_TERM key, ERL_NIF_TERM* value) Get the value of a key in a map. @@ -1467,7 +1467,7 @@ enif_free_iovec(iovec);]]> - intenif_get_resource(ErlNifEnv* env, + intenif_get_resource(ErlNifEnv* env, ERL_NIF_TERM term, ErlNifResourceType* type, void** objp) Get the pointer to a resource object. @@ -1480,7 +1480,7 @@ enif_free_iovec(iovec);]]> - intenif_get_string(ErlNifEnv* env, + intenif_get_string(ErlNifEnv* env, ERL_NIF_TERM list, char* buf, unsigned size, ErlNifCharEncoding encode) Get a C-string from a list. @@ -1504,7 +1504,7 @@ enif_free_iovec(iovec);]]> - intenif_get_tuple(ErlNifEnv* env, ERL_NIF_TERM + intenif_get_tuple(ErlNifEnv* env, ERL_NIF_TERM term, int* arity, const ERL_NIF_TERM** array) Inspect the elements of a tuple. @@ -1520,7 +1520,7 @@ enif_free_iovec(iovec);]]> - intenif_get_uint(ErlNifEnv* env, ERL_NIF_TERM + intenif_get_uint(ErlNifEnv* env, ERL_NIF_TERM term, unsigned int* ip) Read an unsigned integer term. @@ -1532,7 +1532,7 @@ enif_free_iovec(iovec);]]> - intenif_get_uint64(ErlNifEnv* env, + intenif_get_uint64(ErlNifEnv* env, ERL_NIF_TERM term, ErlNifUInt64* ip) Read an unsigned 64-bit integer term. @@ -1557,7 +1557,7 @@ enif_free_iovec(iovec);]]> - intenif_getenv(const char* key, char* value, + intenif_getenv(const char* key, char* value, size_t *value_size) Get the value of an environment variable. @@ -1567,7 +1567,7 @@ enif_free_iovec(iovec);]]> - intenif_has_pending_exception(ErlNifEnv* env, + intenif_has_pending_exception(ErlNifEnv* env, ERL_NIF_TERM* reason) Check if an exception has been raised. @@ -1588,7 +1588,7 @@ enif_free_iovec(iovec);]]> - + ErlNifUInt64 enif_hash(ErlNifHash type, ERL_NIF_TERM term, ErlNifUInt64 salt) @@ -1613,7 +1613,7 @@ enif_free_iovec(iovec);]]> - intenif_inspect_iolist_as_binary(ErlNifEnv* + intenif_inspect_iolist_as_binary(ErlNifEnv* env, ERL_NIF_TERM term, ErlNifBinary* bin) Inspect the content of an iolist. @@ -1627,7 +1627,7 @@ enif_free_iovec(iovec);]]> - intenif_inspect_iovec(ErlNifEnv* + intenif_inspect_iovec(ErlNifEnv* env, size_t max_elements, ERL_NIF_TERM iovec_term, ERL_NIF_TERM* tail, ErlNifIOVec** iovec) Inspect a list of binaries as an ErlNifIOVec. @@ -1667,7 +1667,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ErlNifIOQueue * + ErlNifIOQueue * enif_ioq_create(ErlNifIOQueueOpts opts) Create a new IO Queue @@ -1678,7 +1678,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - void + void enif_ioq_destroy(ErlNifIOQueue *q) Destroy an IO Queue and free it's content @@ -1687,7 +1687,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_ioq_deq(ErlNifIOQueue *q, size_t count, size_t *size) Dequeue count bytes from the IO Queue @@ -1700,7 +1700,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_ioq_enq_binary(ErlNifIOQueue *q, ErlNifBinary *bin, size_t skip) Enqueue the binary into the IO Queue @@ -1713,7 +1713,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_ioq_enqv(ErlNifIOQueue *q, ErlNifIOVec *iovec, size_t skip) Enqueue the iovec into the IO Queue @@ -1724,7 +1724,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - SysIOVec * + SysIOVec * enif_ioq_peek(ErlNifIOQueue *q, int *iovlen) Peek inside the IO Queue @@ -1738,7 +1738,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_ioq_peek_head(ErlNifEnv *env, ErlNifIOQueue *q, size_t *size, ERL_NIF_TERM *bin_term) Peek the head of the IO Queue. @@ -1753,7 +1753,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - size_t + size_t enif_ioq_size(ErlNifIOQueue *q) Get the current size of the IO Queue @@ -1762,7 +1762,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_atom(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is an atom. @@ -1782,7 +1782,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_current_process_alive(ErlNifEnv* env) Determine if currently executing process is alive. @@ -1795,7 +1795,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_empty_list(ErlNifEnv* env, + intenif_is_empty_list(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is an empty list. @@ -1804,7 +1804,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_exception(ErlNifEnv* env, + intenif_is_exception(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is an exception. @@ -1813,7 +1813,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_fun(ErlNifEnv* env, ERL_NIF_TERM + intenif_is_fun(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a fun. @@ -1822,7 +1822,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_identical(ERL_NIF_TERM lhs, + intenif_is_identical(ERL_NIF_TERM lhs, ERL_NIF_TERM rhs) Erlang operator =:=. @@ -1832,7 +1832,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_list(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a list. @@ -1842,7 +1842,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_map(ErlNifEnv* env, ERL_NIF_TERM + intenif_is_map(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a map. @@ -1852,7 +1852,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_number(ErlNifEnv* env, ERL_NIF_TERM + intenif_is_number(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a number (integer or float). @@ -1861,7 +1861,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_pid(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a pid. @@ -1871,7 +1871,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_port(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a port. @@ -1881,7 +1881,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_port_alive(ErlNifEnv* env, + intenif_is_port_alive(ErlNifEnv* env, ErlNifPort *port_id) Determine if a local port is alive. @@ -1893,7 +1893,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_is_process_alive(ErlNifEnv* env, + intenif_is_process_alive(ErlNifEnv* env, ErlNifPid *pid) Determine if a local process is alive. @@ -1905,7 +1905,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_ref(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a reference. @@ -1915,7 +1915,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_tuple(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a tuple. @@ -1925,7 +1925,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_keep_resource(void* obj) Add a reference to a resource object. @@ -1955,7 +1955,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_atom_len(ErlNifEnv* env, + ERL_NIF_TERMenif_make_atom_len(ErlNifEnv* env, const char* name, size_t len) Create an atom term. @@ -2010,7 +2010,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_copy(ErlNifEnv* dst_env, + ERL_NIF_TERMenif_make_copy(ErlNifEnv* dst_env, ERL_NIF_TERM src_term) Make a copy of a term. @@ -2021,7 +2021,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_double(ErlNifEnv* env, double d) Create a floating-point term. @@ -2033,7 +2033,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_make_existing_atom(ErlNifEnv* env, + intenif_make_existing_atom(ErlNifEnv* env, const char* name, ERL_NIF_TERM* atom, ErlNifCharEncoding encode) Create an existing atom term. @@ -2049,7 +2049,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_make_existing_atom_len(ErlNifEnv* env, + intenif_make_existing_atom_len(ErlNifEnv* env, const char* name, size_t len, ERL_NIF_TERM* atom, ErlNifCharEncoding encoding) Create an existing atom term. @@ -2074,7 +2074,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_int64(ErlNifEnv* env, ErlNifSInt64 i) Create an integer term. @@ -2097,24 +2097,24 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_list1(ErlNifEnv* env, ERL_NIF_TERM e1) - ERL_NIF_TERMenif_make_list2(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list2(ErlNifEnv* env, ERL_NIF_TERM e1, ERL_NIF_TERM e2) - ERL_NIF_TERMenif_make_list3(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list3(ErlNifEnv* env, ERL_NIF_TERM e1, ERL_NIF_TERM e2, ERL_NIF_TERM e3) - ERL_NIF_TERMenif_make_list4(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list4(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e4) - ERL_NIF_TERMenif_make_list5(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list5(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e5) - ERL_NIF_TERMenif_make_list6(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list6(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e6) - ERL_NIF_TERMenif_make_list7(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list7(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e7) - ERL_NIF_TERMenif_make_list8(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list8(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e8) - ERL_NIF_TERMenif_make_list9(ErlNifEnv* env, + ERL_NIF_TERMenif_make_list9(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e9) Create a list term. @@ -2135,7 +2135,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_list_from_array(ErlNifEnv* env, const ERL_NIF_TERM arr[], unsigned cnt) Create a list term from an array. @@ -2147,7 +2147,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_long(ErlNifEnv* env, long int i) Create an integer term from a long int. @@ -2156,7 +2156,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_make_map_put(ErlNifEnv* env, + intenif_make_map_put(ErlNifEnv* env, ERL_NIF_TERM map_in, ERL_NIF_TERM key, ERL_NIF_TERM value, ERL_NIF_TERM* map_out) Insert key-value pair in map. @@ -2172,7 +2172,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_make_map_remove(ErlNifEnv* env, + intenif_make_map_remove(ErlNifEnv* env, ERL_NIF_TERM map_in, ERL_NIF_TERM key, ERL_NIF_TERM* map_out) Remove key from map. @@ -2188,7 +2188,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_make_map_update(ErlNifEnv* env, + intenif_make_map_update(ErlNifEnv* env, ERL_NIF_TERM map_in, ERL_NIF_TERM key, ERL_NIF_TERM new_value, ERL_NIF_TERM* map_out) Replace value for key in map. @@ -2203,7 +2203,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_make_map_from_arrays(ErlNifEnv* env, ERL_NIF_TERM keys[], ERL_NIF_TERM values[], size_t cnt, ERL_NIF_TERM *map_out) Make map term from the given keys and values. @@ -2217,7 +2217,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - unsigned char *enif_make_new_binary(ErlNifEnv* + unsigned char *enif_make_new_binary(ErlNifEnv* env, size_t size, ERL_NIF_TERM* termp) Allocate and create a new binary term. @@ -2233,7 +2233,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_new_map(ErlNifEnv* env) Make an empty map term. @@ -2242,7 +2242,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_pid(ErlNifEnv* env, const ErlNifPid* pid) Make a pid term. @@ -2252,7 +2252,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_ref(ErlNifEnv* env) Create a reference. @@ -2262,7 +2262,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_resource(ErlNifEnv* env, void* obj) Create an opaque handle to a resource object. @@ -2310,7 +2310,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_resource_binary(ErlNifEnv* env, void* obj, const void* data, size_t size) Create a custom binary term. @@ -2336,7 +2336,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_make_reverse_list(ErlNifEnv* env, ERL_NIF_TERM list_in, ERL_NIF_TERM *list_out) Create the reverse of a list. @@ -2363,7 +2363,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_string_len(ErlNifEnv* + ERL_NIF_TERMenif_make_string_len(ErlNifEnv* env, const char* string, size_t len, ErlNifCharEncoding encoding) Create a string. @@ -2376,7 +2376,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_sub_binary(ErlNifEnv* + ERL_NIF_TERMenif_make_sub_binary(ErlNifEnv* env, ERL_NIF_TERM bin_term, size_t pos, size_t size) Make a subbinary term. @@ -2399,23 +2399,23 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_tuple1(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple1(ErlNifEnv* env, ERL_NIF_TERM e1) - ERL_NIF_TERMenif_make_tuple2(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple2(ErlNifEnv* env, ERL_NIF_TERM e1, ERL_NIF_TERM e2) - ERL_NIF_TERMenif_make_tuple3(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple3(ErlNifEnv* env, ERL_NIF_TERM e1, ERL_NIF_TERM e2, ERL_NIF_TERM e3) - ERL_NIF_TERMenif_make_tuple4(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple4(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e4) - ERL_NIF_TERMenif_make_tuple5(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple5(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e5) - ERL_NIF_TERMenif_make_tuple6(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple6(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e6) - ERL_NIF_TERMenif_make_tuple7(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple7(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e7) - ERL_NIF_TERMenif_make_tuple8(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple8(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e8) - ERL_NIF_TERMenif_make_tuple9(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple9(ErlNifEnv* env, ERL_NIF_TERM e1, ..., ERL_NIF_TERM e9) Create a tuple term. @@ -2427,7 +2427,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_tuple_from_array(ErlNifEnv* env, const ERL_NIF_TERM arr[], unsigned cnt) Create a tuple term from an array. @@ -2438,7 +2438,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_uint(ErlNifEnv* env, unsigned int i) Create an unsigned integer term. @@ -2448,7 +2448,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_uint64(ErlNifEnv* env, ErlNifUInt64 i) Create an unsigned integer term. @@ -2468,7 +2468,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_unique_integer(ErlNifEnv + ERL_NIF_TERMenif_make_unique_integer(ErlNifEnv *env, ErlNifUniqueInteger properties) @@ -2486,7 +2486,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - intenif_map_iterator_create(ErlNifEnv *env, + intenif_map_iterator_create(ErlNifEnv *env, ERL_NIF_TERM map, ErlNifMapIterator *iter, ErlNifMapIteratorEntry entry) Create a map iterator. @@ -2521,7 +2521,7 @@ enif_map_iterator_destroy(env, &iter); - voidenif_map_iterator_destroy(ErlNifEnv *env, + voidenif_map_iterator_destroy(ErlNifEnv *env, ErlNifMapIterator *iter) Destroy a map iterator. @@ -2532,7 +2532,7 @@ enif_map_iterator_destroy(env, &iter); - intenif_map_iterator_get_pair(ErlNifEnv *env, + intenif_map_iterator_get_pair(ErlNifEnv *env, ErlNifMapIterator *iter, ERL_NIF_TERM *key, ERL_NIF_TERM *value) Get key and value at current map iterator position. @@ -2545,7 +2545,7 @@ enif_map_iterator_destroy(env, &iter); - intenif_map_iterator_is_head(ErlNifEnv *env, + intenif_map_iterator_is_head(ErlNifEnv *env, ErlNifMapIterator *iter) Check if map iterator is positioned before first. @@ -2555,7 +2555,7 @@ enif_map_iterator_destroy(env, &iter); - intenif_map_iterator_is_tail(ErlNifEnv *env, + intenif_map_iterator_is_tail(ErlNifEnv *env, ErlNifMapIterator *iter) Check if map iterator is positioned after last. @@ -2565,7 +2565,7 @@ enif_map_iterator_destroy(env, &iter); - intenif_map_iterator_next(ErlNifEnv *env, + intenif_map_iterator_next(ErlNifEnv *env, ErlNifMapIterator *iter) Increment map iterator to point to next entry. @@ -2577,7 +2577,7 @@ enif_map_iterator_destroy(env, &iter); - intenif_map_iterator_prev(ErlNifEnv *env, + intenif_map_iterator_prev(ErlNifEnv *env, ErlNifMapIterator *iter) Decrement map iterator to point to previous entry. @@ -2589,8 +2589,8 @@ enif_map_iterator_destroy(env, &iter); - intenif_monitor_process(ErlNifEnv* caller_env, void* obj, - const ErlNifPid* target_pid, ErlNifMonitor* mon) + intenif_monitor_process(ErlNifEnv* caller_env, + void* obj, const ErlNifPid* target_pid, ErlNifMonitor* mon) Monitor a process from a resource. @@ -2621,7 +2621,7 @@ enif_map_iterator_destroy(env, &iter); - ErlNifTime + ErlNifTime enif_monotonic_time(ErlNifTimeUnit time_unit) Get Erlang monotonic time. @@ -2642,7 +2642,7 @@ enif_map_iterator_destroy(env, &iter); - ErlNifMutex * + ErlNifMutex * enif_mutex_create(char *name) @@ -2652,7 +2652,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_mutex_destroy(ErlNifMutex *mtx) @@ -2662,7 +2662,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_mutex_lock(ErlNifMutex *mtx) @@ -2672,7 +2672,7 @@ enif_map_iterator_destroy(env, &iter); - char* + char* enif_mutex_name(ErlNifMutex* mtx) @@ -2682,7 +2682,7 @@ enif_map_iterator_destroy(env, &iter); - int + int enif_mutex_trylock(ErlNifMutex *mtx) @@ -2692,7 +2692,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_mutex_unlock(ErlNifMutex *mtx) @@ -2702,7 +2702,7 @@ enif_map_iterator_destroy(env, &iter); - ERL_NIF_TERM + ERL_NIF_TERM enif_now_time(ErlNifEnv *env) @@ -2713,7 +2713,7 @@ enif_map_iterator_destroy(env, &iter); - ErlNifResourceType * + ErlNifResourceType * enif_open_resource_type(ErlNifEnv* env, const char* module_str, const char* name, ErlNifResourceDtor* dtor, ErlNifResourceFlags flags, ErlNifResourceFlags* tried) @@ -2752,7 +2752,7 @@ enif_map_iterator_destroy(env, &iter); - ErlNifResourceType * + ErlNifResourceType * enif_open_resource_type_x(ErlNifEnv* env, const char* name, const ErlNifResourceTypeInit* init, ErlNifResourceFlags flags, ErlNifResourceFlags* tried) @@ -2771,7 +2771,7 @@ enif_map_iterator_destroy(env, &iter); - intenif_port_command(ErlNifEnv* env, const + intenif_port_command(ErlNifEnv* env, const ErlNifPort* to_port, ErlNifEnv *msg_env, ERL_NIF_TERM msg) Send a port_command to to_port. @@ -2814,7 +2814,7 @@ enif_map_iterator_destroy(env, &iter); - void * + void * enif_priv_data(ErlNifEnv* env) Get the private data of a NIF library. @@ -2825,7 +2825,7 @@ enif_map_iterator_destroy(env, &iter); - ERL_NIF_TERMenif_raise_exception(ErlNifEnv* + ERL_NIF_TERMenif_raise_exception(ErlNifEnv* env, ERL_NIF_TERM reason) Raise a NIF error exception. @@ -2848,7 +2848,7 @@ enif_map_iterator_destroy(env, &iter); - void * + void * enif_realloc(void* ptr, size_t size) Reallocate dynamic memory. @@ -2862,7 +2862,7 @@ enif_map_iterator_destroy(env, &iter); - int + int enif_realloc_binary(ErlNifBinary* bin, size_t size) Change the size of a binary. @@ -2887,7 +2887,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_release_resource(void* obj) Release a resource object. @@ -2906,7 +2906,7 @@ enif_map_iterator_destroy(env, &iter); - ErlNifRWLock * + ErlNifRWLock * enif_rwlock_create(char *name) @@ -2916,7 +2916,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_rwlock_destroy(ErlNifRWLock *rwlck) @@ -2926,7 +2926,7 @@ enif_map_iterator_destroy(env, &iter); - char* + char* enif_rwlock_name(ErlNifRWLock* rwlck) @@ -2936,7 +2936,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_rwlock_rlock(ErlNifRWLock *rwlck) @@ -2946,7 +2946,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_rwlock_runlock(ErlNifRWLock *rwlck) @@ -2956,7 +2956,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_rwlock_rwlock(ErlNifRWLock *rwlck) @@ -2966,7 +2966,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_rwlock_rwunlock(ErlNifRWLock *rwlck) @@ -2976,7 +2976,7 @@ enif_map_iterator_destroy(env, &iter); - int + int enif_rwlock_tryrlock(ErlNifRWLock *rwlck) @@ -2986,7 +2986,7 @@ enif_map_iterator_destroy(env, &iter); - int + int enif_rwlock_tryrwlock(ErlNifRWLock *rwlck) @@ -2996,7 +2996,7 @@ enif_map_iterator_destroy(env, &iter); - ERL_NIF_TERMenif_schedule_nif(ErlNifEnv* env, + ERL_NIF_TERMenif_schedule_nif(ErlNifEnv* env, const char* fun_name, int flags, ERL_NIF_TERM (*fp)(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]), int argc, const ERL_NIF_TERM argv[]) @@ -3041,7 +3041,7 @@ enif_map_iterator_destroy(env, &iter); - int + int enif_select(ErlNifEnv* env, ErlNifEvent event, enum ErlNifSelectFlags mode, void* obj, const ErlNifPid* pid, ERL_NIF_TERM ref) @@ -3135,7 +3135,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - ErlNifPid * + ErlNifPid * enif_self(ErlNifEnv* caller_env, ErlNifPid* pid) Get the pid of the calling process. @@ -3148,8 +3148,8 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - intenif_send(ErlNifEnv* caller_env, ErlNifPid* to_pid, - ErlNifEnv* msg_env, ERL_NIF_TERM msg) + intenif_send(ErlNifEnv* caller_env, + ErlNifPid* to_pid, ErlNifEnv* msg_env, ERL_NIF_TERM msg) Send a message to a process.

Sends a message to a process.

@@ -3195,7 +3195,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) {
- unsigned + unsigned enif_sizeof_resource(void* obj) Get the byte size of a resource object. @@ -3206,7 +3206,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - intenif_snprintf(char *str, size_t size, const + intenif_snprintf(char *str, size_t size, const char *format, ...) Format strings and Erlang terms. @@ -3220,7 +3220,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - voidenif_system_info(ErlNifSysInfo + voidenif_system_info(ErlNifSysInfo *sys_info_ptr, size_t size) Get information about the Erlang runtime system. @@ -3230,7 +3230,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - intenif_term_to_binary(ErlNifEnv *env, + intenif_term_to_binary(ErlNifEnv *env, ERL_NIF_TERM term, ErlNifBinary *bin) Convert a term to the external format. @@ -3247,7 +3247,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_thread_create(char *name,ErlNifTid *tid,void * (*func)(void *),void *args,ErlNifThreadOpts *opts) @@ -3259,7 +3259,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - void + void enif_thread_exit(void *resp) @@ -3269,7 +3269,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_thread_join(ErlNifTid, void **respp) @@ -3279,7 +3279,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - char* + char* enif_thread_name(ErlNifTid tid) Thread name @@ -3289,7 +3289,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - ErlNifThreadOpts * + ErlNifThreadOpts * enif_thread_opts_create(char *name) @@ -3299,7 +3299,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - void + void enif_thread_opts_destroy(ErlNifThreadOpts *opts) @@ -3310,7 +3310,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - ErlNifTid + ErlNifTid enif_thread_self(void) @@ -3320,7 +3320,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_thread_type(void) Determine type of current thread @@ -3342,7 +3342,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - ErlNifTime + ErlNifTime enif_time_offset(ErlNifTimeUnit time_unit) Get current time offset. @@ -3364,7 +3364,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - void * + void * enif_tsd_get(ErlNifTSDKey key) @@ -3374,7 +3374,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_tsd_key_create(char *name, ErlNifTSDKey *key) @@ -3385,7 +3385,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - void + void enif_tsd_key_destroy(ErlNifTSDKey key) @@ -3395,7 +3395,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - void + void enif_tsd_set(ErlNifTSDKey key, void *data) @@ -3405,7 +3405,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_vfprintf(FILE *stream, const char *format, va_list ap) Format strings and Erlang terms. @@ -3417,7 +3417,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_vsnprintf(char *str, size_t size, const char *format, va_list ap) Format strings and Erlang terms. @@ -3429,7 +3429,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_whereis_pid(ErlNifEnv *env, ERL_NIF_TERM name, ErlNifPid *pid) Looks up a process by its registered name. @@ -3457,7 +3457,7 @@ if (retval & ERL_NIF_SELECT_STOP_CALLED) { - int + int enif_whereis_port(ErlNifEnv *env, ERL_NIF_TERM name, ErlNifPort *port) Looks up a port by its registered name. diff --git a/erts/doc/src/erl_prim_loader.xml b/erts/doc/src/erl_prim_loader.xml index 286bac6c93..560510e9ad 100644 --- a/erts/doc/src/erl_prim_loader.xml +++ b/erts/doc/src/erl_prim_loader.xml @@ -114,7 +114,7 @@ - + Get information about a link or file.

Works like diff --git a/erts/doc/src/erl_tracer.xml b/erts/doc/src/erl_tracer.xml index fd3c17f337..fa4717bc2f 100644 --- a/erts/doc/src/erl_tracer.xml +++ b/erts/doc/src/erl_tracer.xml @@ -28,7 +28,7 @@ - erl_tracer + erl_tracer Erlang tracer behavior.

This behavior module implements the back end of the Erlang @@ -195,7 +195,7 @@ - Module:enabled(TraceTag, TracerState, Tracee) -> Result + Module:enabled(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. TraceTag = @@ -224,7 +224,7 @@ - Module:enabled_call(TraceTag, TracerState, Tracee) -> Result + Module:enabled_call(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. TraceTag = @@ -244,7 +244,7 @@ - Module:enabled_garbage_collection(TraceTag, TracerState, Tracee) -> Result + Module:enabled_garbage_collection(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. TraceTag = @@ -264,7 +264,7 @@ - Module:enabled_ports(TraceTag, TracerState, Tracee) -> Result + Module:enabled_ports(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. TraceTag = @@ -284,7 +284,7 @@ - Module:enabled_procs(TraceTag, TracerState, Tracee) -> Result + Module:enabled_procs(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. TraceTag = @@ -304,7 +304,7 @@ - Module:enabled_receive(TraceTag, TracerState, Tracee) -> Result + Module:enabled_receive(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. @@ -325,7 +325,7 @@ - Module:enabled_running_ports(TraceTag, TracerState, Tracee) -> + Module:enabled_running_ports(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. @@ -346,7 +346,7 @@ - Module:enabled_running_procs(TraceTag, TracerState, Tracee) -> + Module:enabled_running_procs(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. @@ -368,7 +368,7 @@ - Module:enabled_send(TraceTag, TracerState, Tracee) -> Result + Module:enabled_send(TraceTag, TracerState, Tracee) -> Result Check if a trace event is to be generated. TraceTag = @@ -388,7 +388,7 @@ - Module:trace(TraceTag, TracerState, Tracee, TraceTerm, + Module:trace(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -417,7 +417,7 @@ - Module:trace(seq_trace, TracerState, Label, + Module:trace(seq_trace, TracerState, Label, SeqTraceInfo, Opts) -> Result Check if a sequence trace event is to be generated. @@ -439,7 +439,7 @@ - Module:trace_call(TraceTag, TracerState, Tracee, TraceTerm, + Module:trace_call(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -463,7 +463,7 @@ - Module:trace_garbage_collection(TraceTag, TracerState, Tracee, + Module:trace_garbage_collection(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -487,7 +487,7 @@ - Module:trace_ports(TraceTag, TracerState, Tracee, TraceTerm, + Module:trace_ports(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -511,7 +511,7 @@ - Module:trace_procs(TraceTag, TracerState, Tracee, TraceTerm, + Module:trace_procs(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -535,7 +535,7 @@ - Module:trace_receive(TraceTag, TracerState, Tracee, TraceTerm, + Module:trace_receive(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -559,7 +559,7 @@ - Module:trace_running_ports(TraceTag, TracerState, Tracee, + Module:trace_running_ports(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -583,7 +583,7 @@ - Module:trace_running_procs(TraceTag, TracerState, Tracee, + Module:trace_running_procs(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. @@ -607,7 +607,7 @@ - Module:trace_send(TraceTag, TracerState, Tracee, TraceTerm, + Module:trace_send(TraceTag, TracerState, Tracee, TraceTerm, Opts) -> Result Check if a trace event is to be generated. diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 8e014c3010..e498825ba4 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -374,7 +374,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Extract a part of a binary.

Extracts the part of the binary described by @@ -399,7 +399,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Extract a part of a binary.

The same as binary_part(Subject, @@ -459,7 +459,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Convert from text representation to a float.

Returns the float whose text representation is @@ -473,7 +473,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Convert from text representation to an integer.

Returns an integer whose text representation is @@ -487,7 +487,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Convert from text representation to an integer.

Returns an integer whose text representation in base @@ -559,7 +559,7 @@ hello - + Decode an Erlang external term format binary.

As binary_to_term/1, but takes these options:

@@ -684,7 +684,7 @@ hello
- + Cancel a timer.

Cancels a timer that has been created by @@ -766,7 +766,7 @@ hello - + Returns the smallest integer not less than the argument

Returns the smallest integer not less than @@ -779,7 +779,7 @@ hello - + Check if a module has old code.

Returns true if Module has old code, @@ -801,7 +801,7 @@ hello - + Check if a process executes old code for a module.

Checks if the node local process identified by @@ -904,7 +904,7 @@ hello - + Convert time unit of a time value.

Converts the Time value of time unit @@ -1090,7 +1090,7 @@ Z = erlang:crc32_combine(X,Y,iolist_size(Data2)). - + Delete element at index in a tuple. 1..tuple_size(Tuple1) @@ -1257,7 +1257,7 @@ end - + Get distribution channel data to pass to another node.

@@ -1290,7 +1290,7 @@ end - + Request notification about available outgoing distribution channel data.

@@ -1326,7 +1326,7 @@ end - + Register distribution channel input handler process.

@@ -1359,7 +1359,7 @@ end - + Pass data into the VM from a distribution channel.

@@ -1531,7 +1531,7 @@ b - + Calculate the maximum size for a term encoded in the Erlang external term format. @@ -1550,7 +1550,7 @@ erlang:external_size(Term, []) - + Calculate the maximum size for a term encoded in the Erlang external term format. @@ -1592,7 +1592,7 @@ true - + Text representation of a float.

The same as @@ -1601,7 +1601,7 @@ true - + Text representation of a float formatted using specified options. @@ -1628,7 +1628,7 @@ true - + Text representation of a float formatted using specified options. @@ -1664,7 +1664,7 @@ true - + Returns the largest integer not greater than the argument

Returns the largest integer not greater than @@ -1850,7 +1850,7 @@ true - + Garbage collect a process.

Garbage collects the node local process identified by @@ -1955,7 +1955,7 @@ true - + Return a list of all keys from the process dictionary. @@ -2117,7 +2117,7 @@ os_prompt% - + Halt the Erlang runtime system.

Status must be a non-negative integer, a string, @@ -2215,7 +2215,7 @@ os_prompt% - + Insert an element at index in a tuple. 1..tuple_size(Tuple1) + 1 @@ -2233,7 +2233,7 @@ os_prompt% - + Text representation of an integer.

Returns a binary corresponding to the text @@ -2245,7 +2245,7 @@ os_prompt% - + Text representation of an integer.

Returns a binary corresponding to the text @@ -2314,7 +2314,7 @@ os_prompt% - + Converts an iolist to a iovec.

Returns an iovec that is made from the integers and binaries in @@ -2438,7 +2438,7 @@ os_prompt% - + Check whether a term is a map.

Returns true if Term is a map, @@ -2448,7 +2448,7 @@ os_prompt% - +

Returns true if map Map contains @@ -2750,7 +2750,7 @@ false - + Convert from text representation to a port.

Returns a port identifier whose text representation is a @@ -2768,7 +2768,7 @@ false - + Convert from text representation to a ref.

Returns a reference whose text representation is a @@ -3001,7 +3001,7 @@ false - + Extract a value from a map

Returns value Value associated with @@ -3020,7 +3020,7 @@ false - + Return the size of a map.

Returns an integer, which is the number of key-value pairs @@ -3033,7 +3033,7 @@ false - + Test that a match specification works.

Tests a match specification used in calls to @@ -3562,7 +3562,7 @@ RealSystem = system + MissedSystem - + Current Erlang monotonic time.

Returns the current @@ -3596,7 +3596,7 @@ RealSystem = system + MissedSystem - + Current Erlang monotonic time.

Returns the current @@ -3614,7 +3614,7 @@ RealSystem = system + MissedSystem - + Stop execution with a specified reason.

Works exactly like @@ -3627,7 +3627,7 @@ RealSystem = system + MissedSystem - + Stop execution with a specified reason.

Works exactly like @@ -5560,7 +5560,7 @@ RealSystem = system + MissedSystem - + Read the state of a timer.

Reads the state of a timer that has been created by either @@ -5801,7 +5801,7 @@ true - + Start a timer.

Starts a timer. When the timer expires, the message @@ -6340,7 +6340,7 @@ true - + Start a timer.

Starts a timer. When the timer expires, the message @@ -9363,7 +9363,7 @@ ok - + Current Erlang system time.

Returns current @@ -9385,7 +9385,7 @@ ok - + Current Erlang system time.

Returns current @@ -9527,7 +9527,7 @@ hello - + Current time offset.

Returns the current time offset between @@ -9559,7 +9559,7 @@ hello - + Current time offset.

Returns the current time offset between @@ -9578,7 +9578,7 @@ hello - + Current Erlang System time. @@ -10870,7 +10870,7 @@ timestamp() -> - + Get a unique integer value.

Generates and returns an @@ -10883,7 +10883,7 @@ timestamp() -> - + Get a unique integer value.

Generates and returns an diff --git a/erts/doc/src/persistent_term.xml b/erts/doc/src/persistent_term.xml index 29a6c67051..1eda7f8d76 100644 --- a/erts/doc/src/persistent_term.xml +++ b/erts/doc/src/persistent_term.xml @@ -29,7 +29,7 @@ persistent_term.xml - persistent_term + persistent_term Persistent terms.

This module is similar to - + Erase the name for a persistent term.

Erase the name for the persistent term with key @@ -229,7 +229,7 @@ will be slower as the number of persistent terms increases. - + Get all persistent terms.

Retrieve the keys and values for all persistent terms. @@ -239,7 +239,7 @@ will be slower as the number of persistent terms increases. - + Get the value for a persistent term.

Retrieve the value for the persistent term associated with @@ -256,7 +256,7 @@ will be slower as the number of persistent terms increases. - + Get information about persistent terms.

Return information about persistent terms in a map. The map @@ -272,7 +272,7 @@ will be slower as the number of persistent terms increases. - + Store a term.

Store the value Value as a persistent term and diff --git a/erts/doc/src/zlib.xml b/erts/doc/src/zlib.xml index 6f4c42da27..c8f164933c 100644 --- a/erts/doc/src/zlib.xml +++ b/erts/doc/src/zlib.xml @@ -502,7 +502,7 @@ list_to_binary([B1,B2]) - + Decompress data.

Decompresses as much data as possible. It can introduce some output @@ -524,7 +524,7 @@ list_to_binary([B1,B2]) - + Read next uncompressed chunk. @@ -540,7 +540,7 @@ list_to_binary([B1,B2]) - + Decompress data with limited output size. @@ -595,7 +595,7 @@ loop(Z, Handler, Uncompressed) -> - + Return the decompression dictionary.

Returns the decompression dictionary currently in use @@ -696,7 +696,7 @@ new_unpack(Z, Compressed, Dict) -> - + Decompress data with limited output size.

Like inflate/2, @@ -745,7 +745,7 @@ loop(Z, Handler, {finished, Output}) -> - + Transfers ownership of a zlib stream.

Changes the controlling process of Z to -- cgit v1.2.3 From 50f64c60b87e8d03fedc3f9f4e655aff8ca9f16c Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:32:24 +0100 Subject: Add empty 'since' attribute for old modules and functions --- erts/doc/src/erl_driver.xml | 176 ++++----- erts/doc/src/erl_nif.xml | 36 +- erts/doc/src/erl_prim_loader.xml | 12 +- erts/doc/src/erlang.xml | 782 +++++++++++++++++++-------------------- erts/doc/src/init.xml | 22 +- erts/doc/src/zlib.xml | 66 ++-- 6 files changed, 547 insertions(+), 547 deletions(-) (limited to 'erts/doc/src') diff --git a/erts/doc/src/erl_driver.xml b/erts/doc/src/erl_driver.xml index f2aea77dee..58678f2393 100644 --- a/erts/doc/src/erl_driver.xml +++ b/erts/doc/src/erl_driver.xml @@ -944,7 +944,7 @@ int suggested_stack_size; - voidadd_driver_entry(ErlDrvEntry + voidadd_driver_entry(ErlDrvEntry *de) Add a driver entry. @@ -968,7 +968,7 @@ int suggested_stack_size; - void * + void * driver_alloc(ErlDrvSizeT size) Allocate memory. @@ -985,7 +985,7 @@ int suggested_stack_size; - ErlDrvBinary * + ErlDrvBinary * driver_alloc_binary(ErlDrvSizeT size) Allocate a driver binary. @@ -1008,7 +1008,7 @@ int suggested_stack_size; - longdriver_async(ErlDrvPort port, unsigned + longdriver_async(ErlDrvPort port, unsigned int* key, void (*async_invoke)(void*), void* async_data, void (*async_free)(void*)) Perform an asynchronous call within a driver. @@ -1096,7 +1096,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - long + long driver_binary_dec_refc(ErlDrvBinary *bin) Decrement the reference count of a driver binary. @@ -1117,7 +1117,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - long + long driver_binary_get_refc(ErlDrvBinary *bin) Get the reference count of a driver binary. @@ -1128,7 +1128,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - long + long driver_binary_inc_refc(ErlDrvBinary *bin) Increment the reference count of a driver binary. @@ -1140,7 +1140,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvTermDatadriver_caller(ErlDrvPort + ErlDrvTermDatadriver_caller(ErlDrvPort port) Return the process making the driver call. @@ -1183,7 +1183,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - int + int driver_cancel_timer(ErlDrvPort port) Cancel a previously set timer. @@ -1196,7 +1196,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_compare_monitors(const ErlDrvMonitor + intdriver_compare_monitors(const ErlDrvMonitor *monitor1, const ErlDrvMonitor *monitor2) Compare two monitors. @@ -1211,7 +1211,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvTermDatadriver_connected(ErlDrvPort + ErlDrvTermDatadriver_connected(ErlDrvPort port) Return the port owner process. @@ -1223,7 +1223,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvPortdriver_create_port(ErlDrvPort port, + ErlDrvPortdriver_create_port(ErlDrvPort port, ErlDrvTermData owner_pid, char* name, ErlDrvData drv_data) Create a new port (driver instance). @@ -1269,7 +1269,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_demonitor_process(ErlDrvPort port, + intdriver_demonitor_process(ErlDrvPort port, const ErlDrvMonitor *monitor) Stop monitoring a process from a driver. @@ -1281,7 +1281,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvSizeTdriver_deq(ErlDrvPort port, + ErlDrvSizeTdriver_deq(ErlDrvPort port, ErlDrvSizeT size) Dequeue data from the head of the driver queue. @@ -1299,7 +1299,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_enq(ErlDrvPort port, char* buf, + intdriver_enq(ErlDrvPort port, char* buf, ErlDrvSizeT len) Enqueue data in the driver queue. @@ -1325,7 +1325,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_enq_bin(ErlDrvPort port, + intdriver_enq_bin(ErlDrvPort port, ErlDrvBinary *bin, ErlDrvSizeT offset, ErlDrvSizeT len) Enqueue binary in the driver queue. @@ -1346,7 +1346,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_enqv(ErlDrvPort port, ErlIOVec *ev, + intdriver_enqv(ErlDrvPort port, ErlIOVec *ev, ErlDrvSizeT skip) Enqueue vector in the driver queue. @@ -1365,11 +1365,11 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_failure(ErlDrvPort port, int + intdriver_failure(ErlDrvPort port, int error) - intdriver_failure_atom(ErlDrvPort port, char + intdriver_failure_atom(ErlDrvPort port, char *string) - intdriver_failure_posix(ErlDrvPort port, int + intdriver_failure_posix(ErlDrvPort port, int error) Fail with error. @@ -1393,7 +1393,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_failure_eof(ErlDrvPort + intdriver_failure_eof(ErlDrvPort port) Fail with EOF. @@ -1408,7 +1408,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiddriver_free(void *ptr) + voiddriver_free(void *ptr) Free an allocated memory block. @@ -1422,7 +1422,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - void + void driver_free_binary(ErlDrvBinary *bin) Free a driver binary. @@ -1436,7 +1436,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvTermData + ErlDrvTermData driver_get_monitored_process(ErlDrvPort port, const ErlDrvMonitor *monitor) Retrieve the process ID from a monitor. @@ -1452,7 +1452,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - int + int driver_get_now(ErlDrvNowData *now) Read a system time stamp. @@ -1473,7 +1473,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_lock_driver(ErlDrvPort + intdriver_lock_driver(ErlDrvPort port) Ensure the driver is never unloaded. @@ -1486,7 +1486,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvTermDatadriver_mk_atom(char* + ErlDrvTermDatadriver_mk_atom(char* string) Make an atom from a name. @@ -1501,7 +1501,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvTermDatadriver_mk_port(ErlDrvPort + ErlDrvTermDatadriver_mk_port(ErlDrvPort port) Make an Erlang term port from a port. @@ -1517,7 +1517,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_monitor_process(ErlDrvPort port, + intdriver_monitor_process(ErlDrvPort port, ErlDrvTermData process, ErlDrvMonitor *monitor) Monitor a process from a driver. @@ -1540,7 +1540,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_output(ErlDrvPort port, char *buf, + intdriver_output(ErlDrvPort port, char *buf, ErlDrvSizeT len) Send data from driver to port owner. @@ -1560,7 +1560,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_output_binary(ErlDrvPort port, char + intdriver_output_binary(ErlDrvPort port, char *hbuf, ErlDrvSizeT hlen, ErlDrvBinary* bin, ErlDrvSizeT offset, ErlDrvSizeT len) Send data from a driver binary to port owner. @@ -1589,7 +1589,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_output_term(ErlDrvPort port, + intdriver_output_term(ErlDrvPort port, ErlDrvTermData* term, int n) Send term data from driver to port owner. @@ -1608,7 +1608,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_output2(ErlDrvPort port, char *hbuf, + intdriver_output2(ErlDrvPort port, char *hbuf, ErlDrvSizeT hlen, char *buf, ErlDrvSizeT len) Send data and binary data to port owner. @@ -1625,7 +1625,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_outputv(ErlDrvPort port, char* hbuf, + intdriver_outputv(ErlDrvPort port, char* hbuf, ErlDrvSizeT hlen, ErlIOVec *ev, ErlDrvSizeT skip) Send vectorized data to port owner. @@ -1654,7 +1654,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvPDL + ErlDrvPDL driver_pdl_create(ErlDrvPort port) Create a port data lock. @@ -1672,7 +1672,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - longdriver_pdl_dec_refc(ErlDrvPDL + longdriver_pdl_dec_refc(ErlDrvPDL pdl) @@ -1686,7 +1686,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - long + long driver_pdl_get_refc(ErlDrvPDL pdl) @@ -1698,7 +1698,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - long + long driver_pdl_inc_refc(ErlDrvPDL pdl) @@ -1712,7 +1712,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - void + void driver_pdl_lock(ErlDrvPDL pdl) Lock port data lock. @@ -1723,7 +1723,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - void + void driver_pdl_unlock(ErlDrvPDL pdl) Unlock port data lock. @@ -1734,7 +1734,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - SysIOVec *driver_peekq(ErlDrvPort port, int + SysIOVec *driver_peekq(ErlDrvPort port, int *vlen) Get the driver queue as a vector. @@ -1775,7 +1775,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_pushq(ErlDrvPort port, char* buf, + intdriver_pushq(ErlDrvPort port, char* buf, ErlDrvSizeT len) Push data at the head of the driver queue. @@ -1792,7 +1792,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_pushq_bin(ErlDrvPort port, + intdriver_pushq_bin(ErlDrvPort port, ErlDrvBinary *bin, ErlDrvSizeT offset, ErlDrvSizeT len) Push binary at the head of the driver queue. @@ -1812,7 +1812,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_pushqv(ErlDrvPort port, ErlIOVec + intdriver_pushqv(ErlDrvPort port, ErlIOVec *ev, ErlDrvSizeT skip) Push vector at the head of the driver queue. @@ -1831,7 +1831,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_read_timer(ErlDrvPort port, unsigned + intdriver_read_timer(ErlDrvPort port, unsigned long *time_left) Read the time left before time-out. @@ -1844,7 +1844,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - void * + void * driver_realloc(void *ptr, ErlDrvSizeT size) Resize an allocated memory block. @@ -1859,7 +1859,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvBinary * + ErlDrvBinary * driver_realloc_binary(ErlDrvBinary *bin, ErlDrvSizeT size) Resize a driver binary. @@ -1873,7 +1873,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_select(ErlDrvPort port, ErlDrvEvent + intdriver_select(ErlDrvPort port, ErlDrvEvent event, int mode, int on) Provides an event for having the emulator call the driver. @@ -1932,7 +1932,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_send_term(ErlDrvPort port, + intdriver_send_term(ErlDrvPort port, ErlDrvTermData receiver, ErlDrvTermData* term, int n) Send term data to other process than port owner process. @@ -1958,7 +1958,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - intdriver_set_timer(ErlDrvPort port, unsigned + intdriver_set_timer(ErlDrvPort port, unsigned long time) Set a timer to call the driver. @@ -1977,7 +1977,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvSizeT + ErlDrvSizeT driver_sizeq(ErlDrvPort port) Return the size of the driver queue. @@ -1991,7 +1991,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiddriver_system_info(ErlDrvSysInfo + voiddriver_system_info(ErlDrvSysInfo *sys_info_ptr, size_t size) Get information about the Erlang runtime system. @@ -2008,7 +2008,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvSizeTdriver_vec_to_buf(ErlIOVec *ev, + ErlDrvSizeTdriver_vec_to_buf(ErlIOVec *ev, char *buf, ErlDrvSizeT len) Collect data segments into a buffer. @@ -2083,7 +2083,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_cond_broadcast(ErlDrvCond + voiderl_drv_cond_broadcast(ErlDrvCond *cnd) Broadcast on a condition variable. @@ -2097,7 +2097,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvCond *erl_drv_cond_create(char + ErlDrvCond *erl_drv_cond_create(char *name) Create a condition variable. @@ -2114,7 +2114,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_cond_destroy(ErlDrvCond + voiderl_drv_cond_destroy(ErlDrvCond *cnd) Destroy a condition variable. @@ -2142,7 +2142,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_cond_signal(ErlDrvCond + voiderl_drv_cond_signal(ErlDrvCond *cnd) Signal on a condition variable. @@ -2156,7 +2156,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_cond_wait(ErlDrvCond *cnd, + voiderl_drv_cond_wait(ErlDrvCond *cnd, ErlDrvMutex *mtx) Wait on a condition variable. @@ -2254,7 +2254,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - interl_drv_equal_tids(ErlDrvTid tid1, + interl_drv_equal_tids(ErlDrvTid tid1, ErlDrvTid tid2) Compare thread identifiers for equality. @@ -2276,7 +2276,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - interl_drv_getenv(const char *key, char + interl_drv_getenv(const char *key, char *value, size_t *value_size) Get the value of an environment variable. @@ -2365,7 +2365,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - ErlDrvMutex *erl_drv_mutex_create(char + ErlDrvMutex *erl_drv_mutex_create(char *name) Create a mutex. @@ -2380,7 +2380,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_mutex_destroy(ErlDrvMutex + voiderl_drv_mutex_destroy(ErlDrvMutex *mtx) Destroy a mutex. @@ -2395,7 +2395,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_mutex_lock(ErlDrvMutex + voiderl_drv_mutex_lock(ErlDrvMutex *mtx) Lock a mutex. @@ -2428,7 +2428,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - interl_drv_mutex_trylock(ErlDrvMutex + interl_drv_mutex_trylock(ErlDrvMutex *mtx) Try lock a mutex. @@ -2447,7 +2447,7 @@ r = driver_async(myPort, &myKey, myData, myFunc); ]]> - voiderl_drv_mutex_unlock(ErlDrvMutex + voiderl_drv_mutex_unlock(ErlDrvMutex *mtx) Unlock a mutex. @@ -2637,7 +2637,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - interl_drv_putenv(const char *key, char + interl_drv_putenv(const char *key, char *value) Set the value of an environment variable. @@ -2668,7 +2668,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - ErlDrvRWLock *erl_drv_rwlock_create(char + ErlDrvRWLock *erl_drv_rwlock_create(char *name) Create an rwlock. @@ -2684,7 +2684,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_rwlock_destroy(ErlDrvRWLock + voiderl_drv_rwlock_destroy(ErlDrvRWLock *rwlck) Destroy an rwlock. @@ -2713,7 +2713,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_rwlock_rlock(ErlDrvRWLock + voiderl_drv_rwlock_rlock(ErlDrvRWLock *rwlck) Read lock an rwlock. @@ -2733,7 +2733,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_rwlock_runlock(ErlDrvRWLock + voiderl_drv_rwlock_runlock(ErlDrvRWLock *rwlck) Read unlock an rwlock. @@ -2746,7 +2746,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_rwlock_rwlock(ErlDrvRWLock + voiderl_drv_rwlock_rwlock(ErlDrvRWLock *rwlck) Read/write lock an rwlock. @@ -2766,7 +2766,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_rwlock_rwunlock(ErlDrvRWLock + voiderl_drv_rwlock_rwunlock(ErlDrvRWLock *rwlck) Read/write unlock an rwlock. @@ -2779,7 +2779,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - interl_drv_rwlock_tryrlock(ErlDrvRWLock + interl_drv_rwlock_tryrlock(ErlDrvRWLock *rwlck) Try to read lock an rwlock. @@ -2799,7 +2799,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - interl_drv_rwlock_tryrwlock(ErlDrvRWLock + interl_drv_rwlock_tryrwlock(ErlDrvRWLock *rwlck) Try to read/write lock an rwlock. @@ -2857,7 +2857,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - interl_drv_thread_create(char *name, ErlDrvTid + interl_drv_thread_create(char *name, ErlDrvTid *tid, void * (*func)(void *), void *arg, ErlDrvThreadOpts *opts) Create a thread. @@ -2920,7 +2920,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_thread_exit(void + voiderl_drv_thread_exit(void *exit_value) Terminate calling thread. @@ -2939,7 +2939,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - interl_drv_thread_join(ErlDrvTid tid, void + interl_drv_thread_join(ErlDrvTid tid, void **exit_value) Join with another thread. @@ -2976,7 +2976,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - ErlDrvThreadOpts * + ErlDrvThreadOpts * erl_drv_thread_opts_create(char *name) Create thread options. @@ -3005,7 +3005,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - void + void erl_drv_thread_opts_destroy(ErlDrvThreadOpts *opts) Destroy thread options. @@ -3020,7 +3020,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - ErlDrvTid + ErlDrvTid erl_drv_thread_self(void) Get the thread identifier of the current thread. @@ -3054,7 +3054,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - void *erl_drv_tsd_get(ErlDrvTSDKey + void *erl_drv_tsd_get(ErlDrvTSDKey key) Get thread-specific data. @@ -3069,7 +3069,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - interl_drv_tsd_key_create(char *name, + interl_drv_tsd_key_create(char *name, ErlDrvTSDKey *key) Create a thread-specific data key. @@ -3086,7 +3086,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_tsd_key_destroy(ErlDrvTSDKey + voiderl_drv_tsd_key_destroy(ErlDrvTSDKey key) Destroy a thread-specific data key. @@ -3111,7 +3111,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voiderl_drv_tsd_set(ErlDrvTSDKey key, void + voiderl_drv_tsd_set(ErlDrvTSDKey key, void *data) Set thread-specific data. @@ -3138,7 +3138,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - char *erl_errno_id(int error) + char *erl_errno_id(int error) Get Erlang error atom name from error number. @@ -3150,7 +3150,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - intremove_driver_entry(ErlDrvEntry + intremove_driver_entry(ErlDrvEntry *de) Remove a driver entry. @@ -3164,7 +3164,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voidset_busy_port(ErlDrvPort port, int + voidset_busy_port(ErlDrvPort port, int on) Signal or unsignal port as busy. @@ -3195,7 +3195,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0] - voidset_port_control_flags(ErlDrvPort port, + voidset_port_control_flags(ErlDrvPort port, int flags) Set flags on how to handle control entry function. diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index 53ef3675d8..5cbeddabd9 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -963,7 +963,7 @@ typedef struct { - void *enif_alloc(size_t size) + void *enif_alloc(size_t size) Allocate dynamic memory.

Allocates memory of size bytes.

@@ -974,7 +974,7 @@ typedef struct {
- int + int enif_alloc_binary(size_t size, ErlNifBinary* bin) Create a new binary. @@ -1276,7 +1276,7 @@ typedef struct { - voidenif_free(void* ptr) + voidenif_free(void* ptr) Free dynamic memory.

Frees memory allocated by @@ -1362,7 +1362,7 @@ enif_free_iovec(iovec);]]> - intenif_get_int(ErlNifEnv* env, ERL_NIF_TERM + intenif_get_int(ErlNifEnv* env, ERL_NIF_TERM term, int* ip) Read an integer term. @@ -1408,7 +1408,7 @@ enif_free_iovec(iovec);]]> - intenif_get_list_cell(ErlNifEnv* env, + intenif_get_list_cell(ErlNifEnv* env, ERL_NIF_TERM list, ERL_NIF_TERM* head, ERL_NIF_TERM* tail) Get head and tail from a list. @@ -1544,7 +1544,7 @@ enif_free_iovec(iovec);]]> - intenif_get_ulong(ErlNifEnv* env, ERL_NIF_TERM + intenif_get_ulong(ErlNifEnv* env, ERL_NIF_TERM term, unsigned long* ip) Read an unsigned integer term. @@ -1601,7 +1601,7 @@ enif_free_iovec(iovec);]]> - intenif_inspect_binary(ErlNifEnv* env, + intenif_inspect_binary(ErlNifEnv* env, ERL_NIF_TERM bin_term, ErlNifBinary* bin) Inspect the content of a binary. @@ -1772,7 +1772,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - int + int enif_is_binary(ErlNifEnv* env, ERL_NIF_TERM term) Determine if a term is a binary. @@ -1941,7 +1941,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_atom(ErlNifEnv* env, const char* name) Create an atom term. @@ -1969,7 +1969,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_badarg(ErlNifEnv* env) Make a badarg exception. @@ -1997,7 +1997,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_binary(ErlNifEnv* env, ErlNifBinary* bin) Make a binary term. @@ -2065,7 +2065,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_int(ErlNifEnv* env, int i) Create an integer term. @@ -2084,7 +2084,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_list(ErlNifEnv* env, unsigned cnt, ...) Create a list term. @@ -2126,7 +2126,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_list_cell(ErlNifEnv* + ERL_NIF_TERMenif_make_list_cell(ErlNifEnv* env, ERL_NIF_TERM head, ERL_NIF_TERM tail) Create a list cell. @@ -2352,7 +2352,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_string(ErlNifEnv* env, + ERL_NIF_TERMenif_make_string(ErlNifEnv* env, const char* string, ErlNifCharEncoding encoding) Create a string. @@ -2388,7 +2388,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERMenif_make_tuple(ErlNifEnv* env, + ERL_NIF_TERMenif_make_tuple(ErlNifEnv* env, unsigned cnt, ...) Creates a tuple term. @@ -2458,7 +2458,7 @@ enif_inspect_iovec(env, max_elements, term, &tail, &iovec); - ERL_NIF_TERM + ERL_NIF_TERM enif_make_ulong(ErlNifEnv* env, unsigned long i) Create an integer term from an unsigned long int. @@ -2876,7 +2876,7 @@ enif_map_iterator_destroy(env, &iter); - void + void enif_release_binary(ErlNifBinary* bin) Release a binary. diff --git a/erts/doc/src/erl_prim_loader.xml b/erts/doc/src/erl_prim_loader.xml index 560510e9ad..043d11b7b4 100644 --- a/erts/doc/src/erl_prim_loader.xml +++ b/erts/doc/src/erl_prim_loader.xml @@ -29,7 +29,7 @@ erl_prim_loader.xml - erl_prim_loader + erl_prim_loader Low-level Erlang loader.

This module is used to load all Erlang modules into @@ -47,7 +47,7 @@ - + Get a file.

Fetches a file using the low-level loader. @@ -65,7 +65,7 @@ - + Get the path set in the loader.

Gets the path set in the loader. The path is @@ -75,7 +75,7 @@ - + List files in a directory.

Lists all the files in a directory. Returns @@ -92,7 +92,7 @@ - + Get information about a file.

Retrieves information about a file. Returns @@ -131,7 +131,7 @@ - + Set the path of the loader.

Sets the path of the loader if diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index e498825ba4..6cecc2f77f 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -29,7 +29,7 @@ erlang.xml - erlang + erlang The Erlang BIFs.

By convention, most Built-In Functions (BIFs) are included @@ -210,8 +210,8 @@ - - + + Arithmetical absolute value.

Returns an integer or float that is the arithmetical @@ -227,7 +227,7 @@ - + Compute adler32 checksum.

Computes and returns the adler32 checksum for @@ -236,7 +236,7 @@ - + Compute adler32 checksum.

Continues computing the adler32 checksum by combining @@ -253,7 +253,7 @@ Y = erlang:adler32([Data1,Data2]). - + Combine two adler32 checksums.

Combines two previously computed adler32 checksums. @@ -272,7 +272,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Append an extra element to a tuple.

Returns a new tuple that has one element more than @@ -289,7 +289,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Apply a function to an argument list.

Calls a fun, passing the elements in Args @@ -307,7 +307,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Apply a function to an argument list.

Returns the result of applying Function in @@ -337,7 +337,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Return the binary representation of an atom.

Returns a binary corresponding to the text @@ -362,7 +362,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Text representation of an atom.

Returns a string corresponding to the text @@ -409,7 +409,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Convert from text representation to an atom.

Returns the atom whose text representation is @@ -438,7 +438,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Convert from text representation to an atom.

As @@ -502,7 +502,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Convert a binary to a list.

Returns a list of integers corresponding to the bytes of @@ -511,7 +511,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Convert part of a binary to a list. 1..byte_size(Binary) @@ -533,7 +533,7 @@ Z = erlang:adler32_combine(X,Y,iolist_size(Data2)). - + Decode an Erlang external term format binary.

Returns an Erlang term that is the result of decoding @@ -613,7 +613,7 @@ hello - + Return the size of a bitstring.

Returns an integer that is the size in bits of @@ -628,7 +628,7 @@ hello - + Convert a bitstring to a list.

Returns a list of integers corresponding to the bytes of @@ -639,7 +639,7 @@ hello - + Increment the reduction counter.

This implementation-dependent function increments @@ -657,7 +657,7 @@ hello - + Return the size of a bitstring (or binary).

Returns an integer that is the number of bytes needed to @@ -674,7 +674,7 @@ hello - + Cancel a timer.

Cancels a timer. The same as calling @@ -790,7 +790,7 @@ hello - + Check if a process executes old code for a module.

The same as @@ -922,7 +922,7 @@ hello - + Compute crc32 (IEEE 802.3) checksum.

Computes and returns the crc32 (IEEE 802.3 style) checksum @@ -931,7 +931,7 @@ hello - + Compute crc32 (IEEE 802.3) checksum.

Continues computing the crc32 checksum by combining @@ -948,7 +948,7 @@ Y = erlang:crc32([Data1,Data2]). - + Combine two crc32 (IEEE 802.3) checksums.

Combines two previously computed crc32 checksums. @@ -967,7 +967,7 @@ Z = erlang:crc32_combine(X,Y,iolist_size(Data2)). - + Current date.

Returns the current date as {Year, Month, Day}.

@@ -980,7 +980,7 @@ Z = erlang:crc32_combine(X,Y,iolist_size(Data2)).
- + Extract a protocol packet from a binary.

Decodes the binary Bin according to the packet @@ -1103,7 +1103,7 @@ Z = erlang:crc32_combine(X,Y,iolist_size(Data2)). - + Make the current code for a module old.

Makes the current code for Module become old @@ -1121,7 +1121,7 @@ Z = erlang:crc32_combine(X,Y,iolist_size(Data2)). - + Stop monitoring.

If MonitorRef is a reference that the @@ -1163,7 +1163,7 @@ Z = erlang:crc32_combine(X,Y,iolist_size(Data2)). - + Stop monitoring.

The returned value is true unless info is part @@ -1231,7 +1231,7 @@ end - + Force the disconnection of a node.

Forces the disconnection of a node. This appears to @@ -1245,7 +1245,7 @@ end - + Print a term on standard output.

Prints a text representation of Term on the @@ -1392,7 +1392,7 @@ end - + Return the Nth element of a tuple. 1..tuple_size(Tuple) @@ -1406,7 +1406,7 @@ b - + Return and delete the process dictionary.

Returns the process dictionary and deletes it, for @@ -1420,7 +1420,7 @@ b - + Return and delete a value from the process dictionary. @@ -1437,7 +1437,7 @@ b - + Stop execution with a specified reason.

Stops the execution of the calling process with the reason @@ -1461,7 +1461,7 @@ b - + Stop execution with a specified reason.

Stops the execution of the calling process with the reason @@ -1478,7 +1478,7 @@ b - + Stop execution with a specified reason.

Stops the execution of the calling process with exit reason @@ -1495,7 +1495,7 @@ b - + Send an exit signal to a process or a port.

Sends an exit signal with exit reason Reason to @@ -1570,7 +1570,7 @@ true - + Convert a number to a float.

Returns a float by converting Number to a float, @@ -1619,7 +1619,7 @@ true - + Text representation of a float.

The same as @@ -1678,7 +1678,7 @@ true - + Information about a fun.

Returns a list with information about the fun @@ -1779,7 +1779,7 @@ true - + Information about a fun. @@ -1799,7 +1799,7 @@ true - + Text representation of a fun.

Returns a string corresponding to the text @@ -1808,7 +1808,7 @@ true - + Check if a function is exported and loaded.

Returns true if the module Module is @@ -1824,7 +1824,7 @@ true - + Force an immediate garbage collection of the calling process. @@ -1840,7 +1840,7 @@ true - + Garbage collect a process.

The same as @@ -1915,7 +1915,7 @@ true - + Return the process dictionary.

Returns the process dictionary as a list of @@ -1930,7 +1930,7 @@ true - + Return a value from the process dictionary.

Returns the value Val associated with @@ -1946,7 +1946,7 @@ true - + Get the magic cookie of the local node.

Returns the magic cookie of the local node if the node is @@ -1971,7 +1971,7 @@ true - + Return a list of keys from the process dictionary.

Returns a list of keys that are associated with the value @@ -1989,7 +1989,7 @@ true - + Get the call stack back-trace of the last exception. @@ -2054,7 +2054,7 @@ end - + Get the group leader for the calling process.

Returns the process identifier of the group leader for the @@ -2069,7 +2069,7 @@ end - + Set the group leader for a process.

Sets the group leader of Pid @@ -2090,7 +2090,7 @@ end - + Halt the Erlang runtime system and indicate normal exit to the calling environment. @@ -2103,7 +2103,7 @@ os_prompt% - + Halt the Erlang runtime system.

The same as @@ -2159,7 +2159,7 @@ os_prompt% - + Head of a list.

Returns the head of List, that is, @@ -2174,7 +2174,7 @@ os_prompt% - + Hibernate a process until a message is sent to it.

Puts the calling process into a wait state where its memory @@ -2258,7 +2258,7 @@ os_prompt% - + Text representation of an integer.

Returns a string corresponding to the text @@ -2270,7 +2270,7 @@ os_prompt% - + Text representation of an integer.

Returns a string corresponding to the text @@ -2283,7 +2283,7 @@ os_prompt% - + Size of an iolist.

Returns an integer, that is the size in bytes, @@ -2296,7 +2296,7 @@ os_prompt% - + Convert an iolist to a binary.

Returns a binary that is made from the integers and @@ -2323,7 +2323,7 @@ os_prompt% - + Check whether the local node is alive.

Returns true if the local node is alive (that is, if @@ -2333,7 +2333,7 @@ os_prompt% - + Check whether a term is an atom.

Returns true if Term is an atom, @@ -2343,7 +2343,7 @@ os_prompt% - + Check whether a term is a binary.

Returns true if Term is a binary, @@ -2354,7 +2354,7 @@ os_prompt% - + Check whether a term is a bitstring.

Returns true if Term is a @@ -2364,7 +2364,7 @@ os_prompt% - + Check whether a term is a boolean.

Returns true if Term is the @@ -2375,7 +2375,7 @@ os_prompt% - + Check if a function is a BIF implemented in C.

This BIF is useful for builders of cross-reference tools.

@@ -2386,7 +2386,7 @@ os_prompt%
- + Check whether a term is a float.

Returns true if Term is a floating point @@ -2396,7 +2396,7 @@ os_prompt% - + Check whether a term is a fun.

Returns true if Term is a fun, otherwise @@ -2406,7 +2406,7 @@ os_prompt% - + Check whether a term is a fun with a specified given arity. @@ -2418,7 +2418,7 @@ os_prompt% - + Check whether a term is an integer.

Returns true if Term is an integer, @@ -2428,7 +2428,7 @@ os_prompt% - + Check whether a term is a list.

Returns true if Term is a list with @@ -2468,7 +2468,7 @@ false - + Check whether a term is a number.

Returns true if Term is an integer or a @@ -2478,7 +2478,7 @@ false - + Check whether a term is a process identifier.

Returns true if Term is a process @@ -2488,7 +2488,7 @@ false - + Check whether a term is a port.

Returns true if Term is a port identifier, @@ -2498,7 +2498,7 @@ false - + Check whether a process is alive.

Pid must refer to a process at the local @@ -2510,7 +2510,7 @@ false - + Check whether a term appears to be a record.

Returns true if Term is a tuple and its @@ -2531,7 +2531,7 @@ false - + Check whether a term appears to be a record.

RecordTag must be an atom.

@@ -2550,7 +2550,7 @@ false
- + Check whether a term is a reference.

Returns true if Term is a reference, @@ -2560,7 +2560,7 @@ false - + Check whether a term is a tuple.

Returns true if Term is a tuple, @@ -2570,7 +2570,7 @@ false - + Length of a list.

Returns the length of List, for example:

@@ -2582,7 +2582,7 @@ false
- + Create a link to another process (or port).

Creates a link between the calling process and another @@ -2609,7 +2609,7 @@ false - + Convert from text representation to an atom.

Returns the atom whose text representation is @@ -2629,7 +2629,7 @@ false - + Convert a list to a binary.

Returns a binary that is made from the integers and @@ -2647,7 +2647,7 @@ false - + Convert a list to a bitstring. @@ -2668,7 +2668,7 @@ false - + Convert from text representation to an atom.

Returns the atom whose text representation is @@ -2689,7 +2689,7 @@ false - + Convert from text representation to a float.

Returns the float whose text representation is @@ -2703,7 +2703,7 @@ false - + Convert from text representation to an integer.

Returns an integer whose text representation is @@ -2717,7 +2717,7 @@ false - + Convert from text representation to an integer.

Returns an integer whose text representation in base @@ -2732,7 +2732,7 @@ false - + Convert from text representation to a pid.

Returns a process identifier whose text representation is a @@ -2786,7 +2786,7 @@ false - + Convert a list to a tuple.

Returns a tuple corresponding to List, @@ -2799,7 +2799,7 @@ false - + Load object code for a module.

If Binary contains the object code for module @@ -2832,7 +2832,7 @@ false - + Load NIF library.

Loads and links a dynamic library containing native @@ -2885,7 +2885,7 @@ false - + List all loaded modules.

Returns a list of all loaded Erlang modules (current and @@ -2896,7 +2896,7 @@ false - + Current local date and time.

Returns the current local date and time, @@ -2911,7 +2911,7 @@ false - + Convert from local to Universal Time Coordinated (UTC) date and time. @@ -2928,7 +2928,7 @@ false - + Convert from local to Universal Time Coordinated (UTC) date and time. @@ -2954,7 +2954,7 @@ false - + Return a unique reference.

Returns a @@ -2971,7 +2971,7 @@ false - + Create a new tuple of a specified arity.

Creates a new tuple of the specified Arity, where @@ -2983,7 +2983,7 @@ false - + Create a new tuple with specifed arity and contents.

Creates a tuple of size Arity, where each element @@ -3071,7 +3071,7 @@ false - + Return the largest of two terms.

Returns the largest of Term1 and @@ -3081,7 +3081,7 @@ false - + Compute an MD5 message digest.

Computes an MD5 message digest from Data, where @@ -3099,7 +3099,7 @@ false - + Finish the update of an MD5 context and return the computed MD5 message digest. @@ -3109,7 +3109,7 @@ false - + Create an MD5 context.

Creates an MD5 context, to be used in the following calls to @@ -3118,7 +3118,7 @@ false - + Update an MD5 context with data and return a new context. @@ -3129,7 +3129,7 @@ false - + Information about dynamically allocated memory. @@ -3273,8 +3273,8 @@ RealSystem = system + MissedSystem - - + + Information about dynamically allocated memory. @@ -3313,7 +3313,7 @@ RealSystem = system + MissedSystem - + Return the smallest of two terms.

Returns the smallest of Term1 and @@ -3323,7 +3323,7 @@ RealSystem = system + MissedSystem - + Check if a module is loaded.

Returns true if the module Module @@ -3338,9 +3338,9 @@ RealSystem = system + MissedSystem - - - + + + Start monitoring. @@ -3512,7 +3512,7 @@ RealSystem = system + MissedSystem - + Monitor the status of a node.

Monitor the status of the node Node. @@ -3536,7 +3536,7 @@ RealSystem = system + MissedSystem - + Monitor the status of a node.

Behaves as @@ -3640,7 +3640,7 @@ RealSystem = system + MissedSystem - + Name of the local node.

Returns the name of the local node. If the node is not alive, @@ -3650,7 +3650,7 @@ RealSystem = system + MissedSystem - + At which node a pid, port, or reference originates.

Returns the node where Arg originates. @@ -3663,7 +3663,7 @@ RealSystem = system + MissedSystem - + All visible nodes in the system.

Returns a list of all visible nodes in the system, except @@ -3672,7 +3672,7 @@ RealSystem = system + MissedSystem - + All nodes of a certain type in the system.

Returns a list of nodes according to the argument specified. @@ -3715,7 +3715,7 @@ RealSystem = system + MissedSystem - + Elapsed time since 00:00 GMT. @@ -3744,7 +3744,7 @@ RealSystem = system + MissedSystem - + Open a port.

Returns a port identifier as the result of opening a @@ -4085,7 +4085,7 @@ RealSystem = system + MissedSystem - + Portable hash function. Range = 1..2^32, Hash = 1..Range @@ -4100,8 +4100,8 @@ RealSystem = system + MissedSystem - - + + Portable hash function. 1..2^32 0..Range-1 @@ -4125,7 +4125,7 @@ RealSystem = system + MissedSystem - + Text representation of a pid.

Returns a string corresponding to the text @@ -4134,7 +4134,7 @@ RealSystem = system + MissedSystem - + Perform a synchronous call to a port with term data.

Performs a synchronous call to a port. The meaning of @@ -4179,7 +4179,7 @@ RealSystem = system + MissedSystem - + Close an open port.

Closes an open port. Roughly the same as Port ! @@ -4219,7 +4219,7 @@ RealSystem = system + MissedSystem - + Send data to a port.

Sends data to a port. Same as @@ -4266,7 +4266,7 @@ RealSystem = system + MissedSystem - + Send data to a port.

Sends data to a port. port_command(Port, Data, []) @@ -4325,7 +4325,7 @@ RealSystem = system + MissedSystem - + Set the owner of a port.

Sets the port owner (the connected port) to Pid. @@ -4394,7 +4394,7 @@ RealSystem = system + MissedSystem - + Perform a synchronous control operation on a port.

Performs a synchronous control operation on a port. @@ -4431,7 +4431,7 @@ RealSystem = system + MissedSystem - + Information about a port.

Returns a list containing tuples with information about @@ -4462,7 +4462,7 @@ RealSystem = system + MissedSystem - + Information about the connected process of a port.

Pid is the process identifier of the process @@ -4478,7 +4478,7 @@ RealSystem = system + MissedSystem - + Information about the internal index of a port.

Index is the internal index of the port. This @@ -4494,7 +4494,7 @@ RealSystem = system + MissedSystem - + Information about the input of a port.

Bytes is the total number of bytes @@ -4510,7 +4510,7 @@ RealSystem = system + MissedSystem - + Information about the links of a port.

Pids is a list of the process identifiers @@ -4526,7 +4526,7 @@ RealSystem = system + MissedSystem - + Information about the locking of a port.

Locking is one of the following:

@@ -4547,7 +4547,7 @@ RealSystem = system + MissedSystem
- + Information about the memory size of a port.

Bytes is the total number of @@ -4565,7 +4565,7 @@ RealSystem = system + MissedSystem - + Information about the monitors of a port.

Monitors represent processes monitored by @@ -4581,7 +4581,7 @@ RealSystem = system + MissedSystem - + Which processes are monitoring this port.

Returns list of pids that are monitoring given port at the @@ -4597,7 +4597,7 @@ RealSystem = system + MissedSystem - + Information about the name of a port.

Name is the command name set by @@ -4613,7 +4613,7 @@ RealSystem = system + MissedSystem - + Information about the OS pid of a port.

OsPid is the process identifier (or equivalent) @@ -4632,7 +4632,7 @@ RealSystem = system + MissedSystem - + Information about the output of a port.

Bytes is the total number of bytes written @@ -4651,7 +4651,7 @@ RealSystem = system + MissedSystem - + Information about the parallelism hint of a port.

Boolean corresponds to the port parallelism @@ -4662,7 +4662,7 @@ RealSystem = system + MissedSystem - + Information about the queue size of a port.

Bytes is the total number @@ -4679,7 +4679,7 @@ RealSystem = system + MissedSystem - + Information about the registered name of a port.

RegisteredName is the registered name of @@ -4696,7 +4696,7 @@ RealSystem = system + MissedSystem - + Text representation of a port identifier.

Returns a string corresponding to the text @@ -4705,7 +4705,7 @@ RealSystem = system + MissedSystem - + List all existing ports.

Returns a list of port identifiers corresponding to all the @@ -4715,7 +4715,7 @@ RealSystem = system + MissedSystem - + List all preloaded modules.

Returns a list of Erlang modules that are preloaded in @@ -4726,7 +4726,7 @@ RealSystem = system + MissedSystem - + Write information about a local process on standard error. @@ -4740,7 +4740,7 @@ RealSystem = system + MissedSystem - + Set process flag trap_exit for the calling process.

When trap_exit is set to true, exit signals @@ -4757,7 +4757,7 @@ RealSystem = system + MissedSystem - + Set process flag error_handler for the calling process. @@ -4772,7 +4772,7 @@ RealSystem = system + MissedSystem + anchor="process_flag_min_heap_size" since=""/> Set process flag min_heap_size for the calling process. @@ -4782,7 +4782,7 @@ RealSystem = system + MissedSystem - + Set process flag min_bin_vheap_size for the calling process. @@ -4794,7 +4794,7 @@ RealSystem = system + MissedSystem + anchor="process_flag_max_heap_size" since=""/> Set process flag max_heap_size for the calling process. @@ -4868,7 +4868,7 @@ RealSystem = system + MissedSystem + anchor="process_flag_message_queue_data" since=""/> Set process flag message_queue_data for the calling process. @@ -4910,7 +4910,7 @@ RealSystem = system + MissedSystem + anchor="process_flag_priority" since=""/> Set process flag priority for the calling process. @@ -4982,7 +4982,7 @@ RealSystem = system + MissedSystem - + Set process flag save_calls for the calling process.

N must be an integer in the interval 0..10000. @@ -5013,7 +5013,7 @@ RealSystem = system + MissedSystem - + Set process flag sensitive for the calling process.

Sets or clears flag sensitive for the current process. @@ -5047,7 +5047,7 @@ RealSystem = system + MissedSystem - + Set process flags for a process.

Sets certain flags for the process Pid, @@ -5062,7 +5062,7 @@ RealSystem = system + MissedSystem - + Information about a process. @@ -5113,8 +5113,8 @@ RealSystem = system + MissedSystem - - + + Information about a process. @@ -5447,7 +5447,7 @@ RealSystem = system + MissedSystem - + All processes.

Returns a list of process identifiers corresponding to @@ -5464,7 +5464,7 @@ RealSystem = system + MissedSystem - + Remove old code for a module.

Removes old code for Module. @@ -5489,7 +5489,7 @@ RealSystem = system + MissedSystem - + Add a new value to the process dictionary.

Adds a new Key to the process dictionary, @@ -5511,7 +5511,7 @@ RealSystem = system + MissedSystem - + Stop execution with an exception of specified class, reason, and call stack backtrace. @@ -5550,7 +5550,7 @@ RealSystem = system + MissedSystem - + Read the state of a timer.

Reads the state of a timer. The same as calling @@ -5616,7 +5616,7 @@ RealSystem = system + MissedSystem - + Text representation of a reference.

Returns a string corresponding to the text @@ -5629,7 +5629,7 @@ RealSystem = system + MissedSystem - + Register a name for a pid (or port).

Associates the name RegName with a process @@ -5658,7 +5658,7 @@ true - + All registered names.

Returns a list of names that have been registered using @@ -5671,7 +5671,7 @@ true - + Resume a suspended process.

Decreases the suspend count on the process identified by @@ -5712,7 +5712,7 @@ true - + Return an integer by rounding a number.

Returns an integer by rounding Number, @@ -5725,7 +5725,7 @@ true - + Return pid of the calling process.

Returns the process identifier of the calling process, for @@ -5738,7 +5738,7 @@ true - + Send a message. @@ -5758,7 +5758,7 @@ true - + Send a message conditionally. @@ -5790,7 +5790,7 @@ true - + Start a timer.

Starts a timer. The same as calling @@ -5814,7 +5814,7 @@ true - + Try to send a message without ever blocking. @@ -5864,7 +5864,7 @@ true - + Try to send a message without ever blocking. @@ -5897,7 +5897,7 @@ true - + Set the magic cookie of a node.

Sets the magic cookie of Node to the atom @@ -5914,7 +5914,7 @@ true - + Set the Nth element of a tuple. 1..tuple_size(Tuple1 @@ -5931,7 +5931,7 @@ true - + Size of a tuple or binary.

Returns the number of elements in a tuple or the number of @@ -5954,7 +5954,7 @@ true - + Create a new process with a fun as entry point.

Returns the process identifier of a new process started by the @@ -5965,7 +5965,7 @@ true - + Create a new process with a fun as entry point on a specified node. @@ -5979,7 +5979,7 @@ true - + Create a new process with a function as entry point.

Returns the process identifier of a new process started by @@ -6004,7 +6004,7 @@ true - + Create a new process with a function as entry point on a specified node. @@ -6019,7 +6019,7 @@ true - + Create and link to a new process with a fun as entry point. @@ -6033,7 +6033,7 @@ true - + Create and link to a new process with a fun as entry point on a specified node. @@ -6050,7 +6050,7 @@ true - + Create and link to a new process with a function as entry point. @@ -6064,7 +6064,7 @@ true - + Create and link to a new process with a function as entry point on a specified node. @@ -6082,7 +6082,7 @@ true - + Create and monitor a new process with a fun as entry point. @@ -6096,7 +6096,7 @@ true - + Create and monitor a new process with a function as entry point. @@ -6110,7 +6110,7 @@ true - + Create a new process with a fun as entry point. @@ -6128,7 +6128,7 @@ true - + Create a new process with a fun as entry point on a specified node. @@ -6146,7 +6146,7 @@ true - + Create a new process with a function as entry point. @@ -6282,7 +6282,7 @@ true - + Create a new process with a function as entry point on a specified node. @@ -6305,7 +6305,7 @@ true - + Split a binary into two. 0..byte_size(Bin) @@ -6329,7 +6329,7 @@ true - + Start a timer.

Starts a timer. The same as calling @@ -6399,7 +6399,7 @@ true + anchor="statistics_active_tasks" since=""/> Information about active processes and ports.

Returns the same as @@ -6414,7 +6414,7 @@ true + anchor="statistics_active_tasks_all" since=""/> Information about active processes and ports.

Returns a list where each element represents the amount @@ -6455,7 +6455,7 @@ true - + Information about context switches.

Returns the total number of context switches since the @@ -6465,7 +6465,7 @@ true + anchor="statistics_exact_reductions" since=""/> Information about exact reductions.

Returns the number of exact reductions.

@@ -6479,7 +6479,7 @@ true
- + Information about garbage collection.

Returns information about garbage collection, for example:

@@ -6491,7 +6491,7 @@ true
- + Information about I/O.

Returns Input, @@ -6503,7 +6503,7 @@ true + anchor="statistics_microstate_accounting" since=""/> Information about microstate accounting.

Microstate accounting can be used to measure how much time the Erlang @@ -6646,7 +6646,7 @@ lists:map( + anchor="statistics_reductions" since=""/> Information about reductions.

Returns information about reductions, for example:

@@ -6665,7 +6665,7 @@ lists:map( + anchor="statistics_run_queue" since=""/> Information about the run-queues.

Returns the total length of all normal run-queues. That is, the number @@ -6682,7 +6682,7 @@ lists:map( + anchor="statistics_run_queue_lengths" since=""/> Information about the run-queue lengths.

Returns the same as @@ -6697,7 +6697,7 @@ lists:map( + anchor="statistics_run_queue_lengths_all" since=""/> Information about the run-queue lengths.

Returns a list where each element represents the amount @@ -6739,7 +6739,7 @@ lists:map( - + Information about runtime.

Returns information about runtime, in milliseconds.

@@ -6758,7 +6758,7 @@ lists:map( + anchor="statistics_scheduler_wall_time" since=""/> Information about each schedulers work time.

Returns a list of tuples with @@ -6882,7 +6882,7 @@ ok + anchor="statistics_scheduler_wall_time_all" since=""/> Information about each schedulers work time.

The same as @@ -6910,7 +6910,7 @@ ok + anchor="statistics_total_active_tasks" since=""/> Information about active processes and ports.

The same as calling @@ -6921,7 +6921,7 @@ ok + anchor="statistics_total_active_tasks_all" since=""/> Information about active processes and ports.

The same as calling @@ -6932,7 +6932,7 @@ ok + anchor="statistics_total_run_queue_lengths" since=""/> Information about the run-queue lengths.

The same as calling @@ -6943,7 +6943,7 @@ ok + anchor="statistics_total_run_queue_lengths_all" since=""/> Information about the run-queue lengths.

The same as calling @@ -6953,7 +6953,7 @@ ok - + Information about wall clock.

Returns information about wall clock. wall_clock can @@ -6964,7 +6964,7 @@ ok - + Suspend a process.

Suspends the process identified by @@ -6979,7 +6979,7 @@ ok - + Suspend a process.

Increases the suspend count on the process identified by @@ -7125,7 +7125,7 @@ ok - + Set system flag backtrace_depth.

Sets the maximum depth of call stack back-traces in the @@ -7138,7 +7138,7 @@ ok + anchor="system_flag_cpu_topology" since=""/> Set system flag cpu_topology. @@ -7186,7 +7186,7 @@ ok + anchor="system_flag_dirty_cpu_schedulers_online" since=""/> Set system_flag_dirty_cpu_schedulers_online.

@@ -7214,7 +7214,7 @@ ok - + Set system flag for erts_alloc.

Sets system flags for @@ -7231,7 +7231,7 @@ ok - + Set system flag fullsweep_after.

Sets system flag fullsweep_after. @@ -7251,7 +7251,7 @@ ok + anchor="system_flag_microstate_accounting" since=""/> Set system flag microstate_accounting.

@@ -7264,7 +7264,7 @@ ok - + Set system flag min_heap_size.

Sets the default minimum heap size for processes. The size @@ -7279,7 +7279,7 @@ ok - + Set system flag min_bin_vheap_size.

Sets the default minimum binary virtual heap size for @@ -7297,7 +7297,7 @@ ok + anchor="system_flag_max_heap_size" since=""/> Set system flag max_heap_size. @@ -7315,7 +7315,7 @@ ok + anchor="system_flag_multi_scheduling" since=""/> Set system flag multi_scheduling.

@@ -7371,7 +7371,7 @@ ok + anchor="system_flag_scheduler_bind_type" since=""/> Set system flag scheduler_bind_type. @@ -7498,7 +7498,7 @@ ok + anchor="system_flag_scheduler_wall_time" since=""/> Set system flag scheduler_wall_time.

@@ -7511,7 +7511,7 @@ ok + anchor="system_flag_schedulers_online" since=""/> Set system flag schedulers_online.

@@ -7539,7 +7539,7 @@ ok - + Set system flag trace_control_word.

Sets the value of the node trace control word to @@ -7554,7 +7554,7 @@ ok + anchor="system_flag_time_offset" since=""/> Finalize the time offset.

@@ -7583,7 +7583,7 @@ ok - + System info overview.

Returns information about the current system. @@ -7716,12 +7716,12 @@ ok - - - - - + anchor="system_info_allocator" since=""/> + + + + + Information about the system allocators. @@ -7873,10 +7873,10 @@ ok - - - + anchor="system_info_cpu_topology" since=""/> + + + Information about the CPU topology of the system. @@ -8028,15 +8028,15 @@ ok - - - - - - - - + anchor="system_info_process" since=""/> + + + + + + + + Information about the default process heap settings. @@ -8146,14 +8146,14 @@ ok - - - - - - - - + + + + + + + + Information about various system limits. @@ -8227,14 +8227,14 @@ ok - - - - - - - + anchor="system_info_time" since=""/> + + + + + + + Information about system time. @@ -8455,19 +8455,19 @@ ok - - - - - - - - - - - - + anchor="system_info_scheduler" since=""/> + + + + + + + + + + + + Information about system schedulers. @@ -8755,11 +8755,11 @@ ok - - - - + anchor="system_info_dist" since=""/> + + + + Information about erlang distribution. @@ -8825,83 +8825,83 @@ ok - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + anchor="system_info_misc" since=""/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the system. @@ -9110,7 +9110,7 @@ ok - + Current system performance monitoring settings. @@ -9124,7 +9124,7 @@ ok - + Set or clear system performance monitoring options. @@ -9142,7 +9142,7 @@ ok - + Set system performance monitoring options. @@ -9274,7 +9274,7 @@ ok - + Current system profiling settings. @@ -9289,7 +9289,7 @@ ok - + Current system profiling settings. @@ -9407,7 +9407,7 @@ ok - + Encode a term to an Erlang external term format binary. @@ -9435,7 +9435,7 @@ hello - + Encode a term to en Erlang external term format binary. @@ -9500,7 +9500,7 @@ hello - + Throw an exception.

A non-local return from a function. If evaluated within a @@ -9514,7 +9514,7 @@ hello - + Current time.

Returns the current time as {Hour, Minute, Second}.

@@ -9617,7 +9617,7 @@ timestamp() ->
- + Tail of a list.

Returns the tail of List, that is, @@ -9632,7 +9632,7 @@ timestamp() -> - + Set trace flags for a process or processes. @@ -10288,7 +10288,7 @@ timestamp() -> - + Notification when trace has been delivered.

The delivery of trace messages (generated by @@ -10343,7 +10343,7 @@ timestamp() -> - + Trace information about a process or function. @@ -10479,7 +10479,7 @@ timestamp() -> - + Set trace patterns for call, send, or 'receive' tracing. @@ -10497,7 +10497,7 @@ timestamp() -> - + Set trace pattern for message sending. @@ -10568,7 +10568,7 @@ timestamp() -> - + Set trace pattern for tracing of message receiving. @@ -10640,7 +10640,7 @@ timestamp() -> - + Set trace patterns for tracing of function calls. @@ -10831,7 +10831,7 @@ timestamp() -> - + Return an integer by truncating a number.

Returns an integer by truncating Number, @@ -10844,7 +10844,7 @@ timestamp() -> - + Return the size of a tuple.

Returns an integer that is the number of elements in @@ -10857,7 +10857,7 @@ timestamp() -> - + Convert a tuple to a list.

Returns a list corresponding to Tuple. @@ -10965,7 +10965,7 @@ timestamp() -> - + Current date and time according to Universal Time Coordinated (UTC). @@ -10982,7 +10982,7 @@ timestamp() -> - + Convert from Universal Time Coordinated (UTC) to local date and time. @@ -11001,7 +11001,7 @@ timestamp() -> - + Remove a link to another process or port.

Removes the link, if there is one, between the calling @@ -11047,7 +11047,7 @@ end - + Remove the registered name for a process (or port).

Removes the registered name RegName @@ -11063,7 +11063,7 @@ true - + Get the pid (or port) with a specified registered name. @@ -11077,7 +11077,7 @@ true - + Let other processes get a chance to execute.

Voluntarily lets other processes (if any) get a chance to diff --git a/erts/doc/src/init.xml b/erts/doc/src/init.xml index c14f0a558d..c824e37976 100644 --- a/erts/doc/src/init.xml +++ b/erts/doc/src/init.xml @@ -29,7 +29,7 @@ init.xml - init + init Coordination of system startup.

This module is preloaded and contains the code for @@ -50,7 +50,7 @@ - + Start the Erlang runtime system.

Starts the Erlang runtime system. This function is called @@ -69,7 +69,7 @@ - + Get the values associated with a command-line user flag. @@ -112,7 +112,7 @@ - + Get all command-line user flags.

Returns all command-line flags and the system-defined flags, see @@ -121,7 +121,7 @@ - + Get all non-flag command-line arguments.

Returns any plain command-line arguments as a list of strings @@ -130,7 +130,7 @@ - + Get system status information. @@ -146,7 +146,7 @@ - + Take down and restart an Erlang node smoothly.

All applications are taken down smoothly, all code is @@ -162,7 +162,7 @@ - + Restart the running Erlang node.

The system is restarted inside the running Erlang @@ -178,7 +178,7 @@ - + Get the identity of the used boot script.

Gets the identity of the boot script used to boot the system. @@ -189,7 +189,7 @@ - + Take down an Erlang node smoothly.

The same as @@ -198,7 +198,7 @@ - + Take down an Erlang node smoothly.

All applications are taken down smoothly, all code is diff --git a/erts/doc/src/zlib.xml b/erts/doc/src/zlib.xml index c8f164933c..38229456c9 100644 --- a/erts/doc/src/zlib.xml +++ b/erts/doc/src/zlib.xml @@ -29,7 +29,7 @@ zlib.xml - zlib + zlib zlib compression interface.

This module provides an API for the zlib library @@ -120,7 +120,7 @@ list_to_binary([Compressed|Last]) - + Calculate the Adler checksum.

Calculates the Adler-32 checksum for Data.

@@ -133,7 +133,7 @@ list_to_binary([Compressed|Last])
- + Calculate the Adler checksum.

Updates a running Adler-32 checksum for Data. @@ -153,7 +153,7 @@ Crc = lists:foldl(fun(Data,Crc0) -> - + Combine two Adler-32 checksums.

Combines two Adler-32 checksums into one. For two binaries or @@ -172,7 +172,7 @@ Crc = lists:foldl(fun(Data,Crc0) -> - + Close a stream.

Closes the stream referenced by Z.

@@ -180,7 +180,7 @@ Crc = lists:foldl(fun(Data,Crc0) ->
- + Compress data with standard zlib functionality.

Compresses data with zlib headers and checksum.

@@ -188,7 +188,7 @@ Crc = lists:foldl(fun(Data,Crc0) ->
- + Get current CRC.

Gets the current calculated CRC checksum.

@@ -202,7 +202,7 @@ Crc = lists:foldl(fun(Data,Crc0) ->
- + Calculate CRC.

Calculates the CRC checksum for Data.

@@ -215,7 +215,7 @@ Crc = lists:foldl(fun(Data,Crc0) ->
- + Calculate CRC.

Updates a running CRC checksum for Data. @@ -235,7 +235,7 @@ Crc = lists:foldl(fun(Data,Crc0) -> - + Combine two CRCs.

Combines two CRC checksums into one. For two binaries or iolists, @@ -254,7 +254,7 @@ Crc = lists:foldl(fun(Data,Crc0) -> - + Compress data.

Same as deflate(Z, Data, none).

@@ -262,7 +262,7 @@ Crc = lists:foldl(fun(Data,Crc0) ->
- + Compress data.

Compresses as much data as possible, and @@ -300,7 +300,7 @@ list_to_binary([B1,B2]) - + End deflate session.

Ends the deflate session and cleans all data used. Notice that this @@ -311,7 +311,7 @@ list_to_binary([B1,B2]) - + Initialize a session for compression.

Same as zlib:deflateInit(Z, default).

@@ -319,7 +319,7 @@ list_to_binary([B1,B2])
- + Initialize a session for compression.

Initializes a zlib stream for compression.

@@ -334,7 +334,7 @@ list_to_binary([B1,B2])
- + Initialize a session for compression.

Initiates a zlib stream for compression.

@@ -410,7 +410,7 @@ list_to_binary([B1,B2])
- + Dynamicly update deflate parameters.

Dynamically updates the compression level and compression @@ -432,7 +432,7 @@ list_to_binary([B1,B2]) - + Reset the deflate session.

Equivalent to @@ -446,7 +446,7 @@ list_to_binary([B1,B2]) - + Initialize the compression dictionary.

Initializes the compression dictionary from the specified byte @@ -464,7 +464,7 @@ list_to_binary([B1,B2]) - + Get buffer size.

Gets the size of the intermediate buffer.

@@ -476,7 +476,7 @@ list_to_binary([B1,B2])
- + Uncompress data with gz header.

Uncompresses data with gz headers and checksum.

@@ -484,7 +484,7 @@ list_to_binary([B1,B2])
- + Compress data with gz header.

Compresses data with gz headers and checksum.

@@ -492,7 +492,7 @@ list_to_binary([B1,B2])
- + Decompress data.

Equivalent to @@ -584,7 +584,7 @@ loop(Z, Handler, Uncompressed) -> - + End inflate session.

Ends the inflate session and cleans all data used. Notice @@ -607,7 +607,7 @@ loop(Z, Handler, Uncompressed) -> - + Initialize a session for decompression.

Initializes a zlib stream for decompression.

@@ -615,7 +615,7 @@ loop(Z, Handler, Uncompressed) ->
- + Initialize a session for decompression.

Initializes a decompression session on zlib stream.

@@ -634,7 +634,7 @@ loop(Z, Handler, Uncompressed) ->
- + >Reset the inflate session.

Equivalent to @@ -648,7 +648,7 @@ loop(Z, Handler, Uncompressed) -> - + Initialize the decompression dictionary.

Initializes the decompression dictionary from the specified @@ -688,7 +688,7 @@ new_unpack(Z, Compressed, Dict) -> - + Open a stream and return a stream reference.

Opens a zlib stream.

@@ -733,7 +733,7 @@ loop(Z, Handler, {finished, Output}) ->
- + Set buffer size.

Sets the intermediate buffer size.

@@ -754,7 +754,7 @@ loop(Z, Handler, {finished, Output}) ->
- + Uncompress data with standard zlib functionality.

Uncompresses data with zlib headers and checksum.

@@ -762,7 +762,7 @@ loop(Z, Handler, {finished, Output}) ->
- + Uncompress data without the zlib headers.

Uncompresses data without zlib headers and checksum.

@@ -770,7 +770,7 @@ loop(Z, Handler, {finished, Output}) ->
- + Compress data without the zlib headers.

Compresses data without zlib headers and checksum.

-- cgit v1.2.3 From 7c7a47780915236d3fe859cfcf7c6d1595a79b2f Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 13 Dec 2018 18:58:05 +0100 Subject: Fill in since for multi-clause functions in erlang.erl The ones marked since="?" are unknown (but newer than R13B03) monitor/2 port_info/2 process_flag/2 statistics/1 system_flag/2 system_info/1 trace_pattern/3 --- erts/doc/src/erlang.xml | 238 ++++++++++++++++++++++++------------------------ 1 file changed, 119 insertions(+), 119 deletions(-) (limited to 'erts/doc/src') diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 6cecc2f77f..a42323b13d 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -3339,8 +3339,8 @@ RealSystem = system + MissedSystem - - + + Start monitoring. @@ -4526,7 +4526,7 @@ RealSystem = system + MissedSystem - + Information about the locking of a port.

Locking is one of the following:

@@ -4547,7 +4547,7 @@ RealSystem = system + MissedSystem
- + Information about the memory size of a port.

Bytes is the total number of @@ -4565,7 +4565,7 @@ RealSystem = system + MissedSystem - + Information about the monitors of a port.

Monitors represent processes monitored by @@ -4581,7 +4581,7 @@ RealSystem = system + MissedSystem - + Which processes are monitoring this port.

Returns list of pids that are monitoring given port at the @@ -4613,7 +4613,7 @@ RealSystem = system + MissedSystem - + Information about the OS pid of a port.

OsPid is the process identifier (or equivalent) @@ -4651,7 +4651,7 @@ RealSystem = system + MissedSystem - + Information about the parallelism hint of a port.

Boolean corresponds to the port parallelism @@ -4662,7 +4662,7 @@ RealSystem = system + MissedSystem - + Information about the queue size of a port.

Bytes is the total number @@ -4782,7 +4782,7 @@ RealSystem = system + MissedSystem - + Set process flag min_bin_vheap_size for the calling process. @@ -4794,7 +4794,7 @@ RealSystem = system + MissedSystem + anchor="process_flag_max_heap_size" since="?"/> Set process flag max_heap_size for the calling process. @@ -4868,7 +4868,7 @@ RealSystem = system + MissedSystem + anchor="process_flag_message_queue_data" since="?"/> Set process flag message_queue_data for the calling process. @@ -5047,7 +5047,7 @@ RealSystem = system + MissedSystem - + Set process flags for a process.

Sets certain flags for the process Pid, @@ -6399,7 +6399,7 @@ true + anchor="statistics_active_tasks" since="?"/> Information about active processes and ports.

Returns the same as @@ -6414,7 +6414,7 @@ true + anchor="statistics_active_tasks_all" since="?"/> Information about active processes and ports.

Returns a list where each element represents the amount @@ -6503,7 +6503,7 @@ true + anchor="statistics_microstate_accounting" since="?"/> Information about microstate accounting.

Microstate accounting can be used to measure how much time the Erlang @@ -6682,7 +6682,7 @@ lists:map( + anchor="statistics_run_queue_lengths" since="?"/> Information about the run-queue lengths.

Returns the same as @@ -6697,7 +6697,7 @@ lists:map( + anchor="statistics_run_queue_lengths_all" since="?"/> Information about the run-queue lengths.

Returns a list where each element represents the amount @@ -6758,7 +6758,7 @@ lists:map( + anchor="statistics_scheduler_wall_time" since="?"/> Information about each schedulers work time.

Returns a list of tuples with @@ -6882,7 +6882,7 @@ ok + anchor="statistics_scheduler_wall_time_all" since="?"/> Information about each schedulers work time.

The same as @@ -6910,7 +6910,7 @@ ok + anchor="statistics_total_active_tasks" since="?"/> Information about active processes and ports.

The same as calling @@ -6921,7 +6921,7 @@ ok + anchor="statistics_total_active_tasks_all" since="?"/> Information about active processes and ports.

The same as calling @@ -6932,7 +6932,7 @@ ok + anchor="statistics_total_run_queue_lengths" since="?"/> Information about the run-queue lengths.

The same as calling @@ -6943,7 +6943,7 @@ ok + anchor="statistics_total_run_queue_lengths_all" since="?"/> Information about the run-queue lengths.

The same as calling @@ -7186,7 +7186,7 @@ ok + anchor="system_flag_dirty_cpu_schedulers_online" since="?"/> Set system_flag_dirty_cpu_schedulers_online.

@@ -7214,7 +7214,7 @@ ok - + Set system flag for erts_alloc.

Sets system flags for @@ -7251,7 +7251,7 @@ ok + anchor="system_flag_microstate_accounting" since="?"/> Set system flag microstate_accounting.

@@ -7279,7 +7279,7 @@ ok - + Set system flag min_bin_vheap_size.

Sets the default minimum binary virtual heap size for @@ -7297,7 +7297,7 @@ ok + anchor="system_flag_max_heap_size" since="?"/> Set system flag max_heap_size. @@ -7498,7 +7498,7 @@ ok + anchor="system_flag_scheduler_wall_time" since="?"/> Set system flag scheduler_wall_time.

@@ -7554,7 +7554,7 @@ ok + anchor="system_flag_time_offset" since="?"/> Finalize the time offset.

@@ -7876,7 +7876,7 @@ ok anchor="system_info_cpu_topology" since=""/> - + Information about the CPU topology of the system. @@ -8028,14 +8028,14 @@ ok + anchor="system_info_process" since="?"/> - - - - + + + + Information about the default process heap settings. @@ -8146,12 +8146,12 @@ ok - - - - - - + + + + + + Information about various system limits. @@ -8227,14 +8227,14 @@ ok - - - - - - - + anchor="system_info_time" since="OTP 18.0"/> + + + + + + + Information about system time. @@ -8455,12 +8455,12 @@ ok - - + anchor="system_info_scheduler" since="?"/> + + - + @@ -8756,9 +8756,9 @@ ok - + - + Information about erlang distribution. @@ -8825,83 +8825,83 @@ ok - - - - - - - + + + + + + + + anchor="system_info_misc" since="?"/> - - - + + + - - - - - - - + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - + - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - + + + + + + - + - + Information about the system. @@ -10497,7 +10497,7 @@ timestamp() -> - + Set trace pattern for message sending. @@ -10568,7 +10568,7 @@ timestamp() -> - + Set trace pattern for tracing of message receiving. -- cgit v1.2.3