aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-03-04 15:06:53 +0100
committerHans Bolinder <[email protected]>2014-03-05 09:00:07 +0100
commitaab8156f22f62c11bbd0cf83d40be385c6411b3d (patch)
treed41e3b38dce2d5125e551d0118054b3898551f65 /lib/stdlib/src
parentc199bd2923e7d733e60beb9bd27b3852cbb2e699 (diff)
downloadotp-aab8156f22f62c11bbd0cf83d40be385c6411b3d.tar.gz
otp-aab8156f22f62c11bbd0cf83d40be385c6411b3d.tar.bz2
otp-aab8156f22f62c11bbd0cf83d40be385c6411b3d.zip
stdlib: Improve the doc of the supervisor's via reference
Most of the updates have already been made in 'Fix alternative registry type annotations in supervisor', a5412706f4185fddbac29216a49affd1e9f11da0. Thanks to MaximMinin.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/gen.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen.erl b/lib/stdlib/src/gen.erl
index 7281549ea7..63116fa16e 100644
--- a/lib/stdlib/src/gen.erl
+++ b/lib/stdlib/src/gen.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2013. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -37,7 +37,9 @@
%%-----------------------------------------------------------------
-type linkage() :: 'link' | 'nolink'.
--type emgr_name() :: {'local', atom()} | {'global', term()} | {via, atom(), term()}.
+-type emgr_name() :: {'local', atom()}
+ | {'global', term()}
+ | {'via', Module :: module(), Name :: term()}.
-type start_ret() :: {'ok', pid()} | 'ignore' | {'error', term()}.