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. --- lib/tftp/doc/src/tftp.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/tftp/doc/src/tftp.xml') diff --git a/lib/tftp/doc/src/tftp.xml b/lib/tftp/doc/src/tftp.xml index 4ed54bc462..e72a4ec985 100644 --- a/lib/tftp/doc/src/tftp.xml +++ b/lib/tftp/doc/src/tftp.xml @@ -389,7 +389,7 @@ - Module:abort(Code, Text, State) -> ok + Module:abort(Code, Text, State) -> ok Aborts the file transfer. Code = undef | enoent | eacces | enospc @@ -413,7 +413,7 @@ - Module:open(Peer, Access, Filename, Mode, SuggestedOptions, State) -> {ok, AcceptedOptions, NewState} | {error, {Code, Text}} + Module:open(Peer, Access, Filename, Mode, SuggestedOptions, State) -> {ok, AcceptedOptions, NewState} | {error, {Code, Text}} Opens a file for read or write access. Peer = {PeerType, PeerHost, PeerPort} @@ -448,7 +448,7 @@ - Module:prepare(Peer, Access, Filename, Mode, SuggestedOptions, InitialState) -> {ok, AcceptedOptions, NewState} | {error, {Code, Text}} + Module:prepare(Peer, Access, Filename, Mode, SuggestedOptions, InitialState) -> {ok, AcceptedOptions, NewState} | {error, {Code, Text}} Prepares to open a file on the client side. Peer = {PeerType, PeerHost, PeerPort} @@ -483,7 +483,7 @@ - Module:read(State) -> {more, Bin, NewState} | {last, Bin, FileSize} | {error, {Code, Text}} + Module:read(State) -> {more, Bin, NewState} | {last, Bin, FileSize} | {error, {Code, Text}} Reads a chunk from the file. State = NewState = term() @@ -510,7 +510,7 @@ - Module:write(Bin, State) -> {more, NewState} | {last, FileSize} | {error, {Code, Text}} + Module:write(Bin, State) -> {more, NewState} | {last, FileSize} | {error, {Code, Text}} Writes a chunk to the file. Bin = binary() @@ -549,7 +549,7 @@ - Logger:error_msg(Format, Data) -> ok | exit(Reason) + Logger:error_msg(Format, Data) -> ok | exit(Reason) Logs an error message. Format = string() @@ -565,7 +565,7 @@ - Logger:info_msg(Format, Data) -> ok | exit(Reason) + Logger:info_msg(Format, Data) -> ok | exit(Reason) Logs an info message. Format = string() @@ -579,7 +579,7 @@ - Logger:warning_msg(Format, Data) -> ok | exit(Reason) + Logger:warning_msg(Format, Data) -> ok | exit(Reason) Logs a warning message. Format = string() -- cgit v1.2.3