-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
682 changed files
with
1,039 additions
and
4,166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 1 addition & 7 deletions
8
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_advise_4_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_allocate_3_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_altname_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
[;1m-spec altname(Name :: name_all()) -> any().[0m | ||
[;1m altname(Name)[0m | ||
|
||
The documentation for altname/1 is hidden. This probably means | ||
that it is internal and not to be used by other applications. |
6 changes: 1 addition & 5 deletions
6
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_group_2_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
|
||
[;1m-spec change_group(Filename, Gid) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Gid :: integer(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_group(Filename, Gid)[0m | ||
|
||
Changes group of a file. See [;;4mwrite_file_info/2[0m. |
6 changes: 1 addition & 5 deletions
6
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_mode_2_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_owner_2_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
|
||
[;1m-spec change_owner(Filename, Uid) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Uid :: integer(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_owner(Filename, Uid)[0m | ||
|
||
Changes owner of a file. See [;;4mwrite_file_info/2[0m. |
7 changes: 1 addition & 6 deletions
7
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_owner_3_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
|
||
[;1m-spec change_owner(Filename, Uid, Gid) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Uid :: integer(),[0m | ||
[;1m Gid :: integer(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_owner(Filename, Uid, Gid)[0m | ||
|
||
Changes owner and group of a file. See [;;4mwrite_file_info/2[0m. |
13 changes: 2 additions & 11 deletions
13
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_owner_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
|
||
[;1m-spec change_owner(Filename, Uid) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Uid :: integer(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_owner(Filename, Uid)[0m | ||
|
||
Changes owner of a file. See [;;4mwrite_file_info/2[0m. | ||
|
||
[;1m-spec change_owner(Filename, Uid, Gid) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Uid :: integer(),[0m | ||
[;1m Gid :: integer(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_owner(Filename, Uid, Gid)[0m | ||
|
||
Changes owner and group of a file. See [;;4mwrite_file_info/2[0m. |
6 changes: 1 addition & 5 deletions
6
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_time_2_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
|
||
[;1m-spec change_time(Filename, Mtime) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Mtime :: date_time(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_time(Filename, Mtime)[0m | ||
|
||
Changes the modification and access times of a file. See [;;4m[0m | ||
[;;4mwrite_file_info/2[0m. |
7 changes: 1 addition & 6 deletions
7
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_time_3_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
|
||
[;1m-spec change_time(Filename, Atime, Mtime) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Atime :: date_time(),[0m | ||
[;1m Mtime :: date_time(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_time(Filename, Atime, Mtime)[0m | ||
|
||
Changes the modification and last access times of a file. See [;;4m[0m | ||
[;;4mwrite_file_info/2[0m. |
13 changes: 2 additions & 11 deletions
13
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_change_time_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
|
||
[;1m-spec change_time(Filename, Mtime) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Mtime :: date_time(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_time(Filename, Mtime)[0m | ||
|
||
Changes the modification and access times of a file. See [;;4m[0m | ||
[;;4mwrite_file_info/2[0m. | ||
|
||
[;1m-spec change_time(Filename, Atime, Mtime) -> ok | {error, Reason}[0m | ||
[;1m when[0m | ||
[;1m Filename :: name_all(),[0m | ||
[;1m Atime :: date_time(),[0m | ||
[;1m Mtime :: date_time(),[0m | ||
[;1m Reason :: posix() | badarg.[0m | ||
[;1m change_time(Filename, Atime, Mtime)[0m | ||
|
||
Changes the modification and last access times of a file. See [;;4m[0m | ||
[;;4mwrite_file_info/2[0m. |
5 changes: 1 addition & 4 deletions
5
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_close_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 1 addition & 10 deletions
11
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_consult_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 1 addition & 11 deletions
12
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_copy_3_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 2 additions & 20 deletions
22
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_copy_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_datasync_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_date_time_0_type.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
[;1m-type date_time() :: calendar:datetime().[0m | ||
[;1m date_time()[0m | ||
|
||
Must denote a valid date and time. |
3 changes: 1 addition & 2 deletions
3
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_del_dir_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_del_dir_r_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_delete_2_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 2 additions & 7 deletions
9
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_delete_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_eval_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 1 addition & 10 deletions
11
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_eval_2_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_fd_0_type.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
[;1m-type fd() :: file_descriptor().[0m | ||
[;1m fd()[0m | ||
|
||
A file descriptor representing a file opened in [;;4mraw[0m mode. |
2 changes: 1 addition & 1 deletion
2
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_file_descriptor_0_type.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_filename_0_type.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_filename_all_0_type.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
lib/stdlib/test/shell_docs_SUITE_data/kernel_file_format_error_1_func.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
|
||
[;1m-spec format_error(Reason) -> Chars[0m | ||
[;1m when[0m | ||
[;1m Reason ::[0m | ||
[;1m posix() |[0m | ||
[;1m badarg | terminated | system_limit |[0m | ||
[;1m {Line :: integer(),[0m | ||
[;1m Mod :: module(),[0m | ||
[;1m Term :: term()},[0m | ||
[;1m Chars :: string().[0m | ||
[;1m format_error(Reason)[0m | ||
|
||
Given the error reason returned by any function in this module, | ||
returns a descriptive string of the error in English. |
Oops, something went wrong.