mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-03-10 12:48:31 +00:00
pdp10_stdio:fseek/2: correct -spec
This commit is contained in:
@@ -132,8 +132,7 @@ fputc(Nonet, #file{pid = Pid}) ->
|
||||
fwrite(Nonets, #file{pid = Pid}) ->
|
||||
gen_server:call(Pid, {fwrite, Nonets}, infinity).
|
||||
|
||||
-spec fseek(#file{}, file:location())
|
||||
-> {ok, non_neg_integer()} | {error, any()}.
|
||||
-spec fseek(#file{}, file:location()) -> ok | {error, any()}.
|
||||
fseek(#file{pid = Pid}, Location) ->
|
||||
gen_server:call(Pid, {fseek, Location}, infinity).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user