From a7db1f6930505ab6a70b0cb41a4c2d52a9448a08 Mon Sep 17 00:00:00 2001
From: olgeni The
This function reads a timestamp into the memory pointed to by +
This function reads a timestamp into the memory pointed to by
the parameter
The return value is 0 unless the
ERL_DRV_USE was added in OTP release R13. Old drivers will still work
as before. But it is recommended to update them to use
The return value is 0 (failure, -1, only if the
This function removes a driver entry
Driver entries added by the
Driver entries added by the
Term type Argument(s) =========================================== -ERL_DRV_NIL +ERL_DRV_NIL ERL_DRV_ATOM ErlDrvTermData atom (from driver_mk_atom(char *string)) ERL_DRV_INT ErlDrvSInt integer ERL_DRV_UINT ErlDrvUInt integer @@ -1779,11 +1779,11 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len signed integer data typeErlDrvSInt are 64 bits wide on a 64 bit runtime system and 32 bits wide on a 32 bit runtime system. They were introduced in erts version 5.6, - and replaced some of theint arguments in the list above. + and replaced some of theint arguments in the list above.The unsigned integer data type
ErlDrvUInt64 and the signed integer data typeErlDrvSInt64 are always 64 bits - wide. They were introduced in erts version 5.7.4. + wide. They were introduced in erts version 5.7.4.To build the tuple
{tcp, Port, [100 | Binary]} , the @@ -1879,7 +1879,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt lenSend term data from driver to port owner -
driver_output_term() is deferred and will +@@ -1937,7 +1937,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len
driver_output_term() is deprecated and will be removed in the OTP-R17 release. Useerl_drv_output_term() instead.Send term data to other process than port owner process @@ -2076,7 +2076,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len -
driver_send_term() is deferred and will +@@ -1998,7 +1998,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len The data should be freed in
driver_send_term() is deprecated and will be removed in the OTP-R17 release. Useerl_drv_send_term() instead.async_free , because it's called ifdriver_async_cancel is called.When the async operation is done,
ready_async driver - entry function is called. Ifasync_ready is null in + entry function is called. Ifready_async is null in the driver entry, theasync_free function is called instead.The return value is a handle to the asynchronous task, which @@ -2035,7 +2035,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len as of OTP-R15B
-driver_async_cancel() is deprecated, and scheduled for removal in OTP-R16. It will currently always fail, and return 0.
driver_async_cancel() is deferred and will +@@ -2048,7 +2048,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len
driver_async_cancel() is deprecated and will be removed in the OTP-R16 release.This function locks the driver used by the port
port in memory for the rest of the emulator process' - lifetime. After this call, the driver behaves as one of Erlang's + lifetime. After this call, the driver behaves as one of Erlang's statically linked in drivers.driver_entry ).
This function compares two thread identifiers for equality,
- and returns
A Thread identifier may be reused very quickly after a thread has terminated. Therefore, if a thread @@ -2469,7 +2469,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len
This function broadcasts on a condition variable. That is, if other threads are waiting on the condition variable being - broadcasted on, all of them will be woken. + broadcast on, all of them will be woken.
This function is thread-safe.
@@ -2498,7 +2498,7 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len the calling thread when calling this function.This function retrieves the value of an environment variable. @@ -2900,4 +2900,3 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len Guide Ch. 3)
- -- cgit v1.2.3