mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-24 03:18:22 +00:00
pdp10_stdio:fseek/2: correct -spec
This commit is contained in:
parent
d394dc856a
commit
b37c24d009
@ -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).
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user