Skip to content

Commit 0fce9ad

Browse files
committed
Style README.md
1 parent 2fcf5d3 commit 0fce9ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduce
22

3-
The libstacktrace is a c library that provides a simple API to output the crash call stack to **STDERR** when process crash.
3+
The libstacktrace is a c library that provides a simple API to output the crash call stack to **STDERR** when the process crash.
44

55

66
## Build
@@ -29,7 +29,7 @@ int main(int argc, char *argv[]) {
2929
3030
## Example
3131
32-
Examples of use are provided in **example.c** of the repository, which make a null pointer access and the process crashes with the following output:
32+
Examples of use are provided in **example.c** of the repository, which makes null pointer access, and the process crashes with the following output:
3333
3434
```shell
3535
[root@localhost libstacktrace]# ./example
@@ -43,7 +43,7 @@ Examples of use are provided in **example.c** of the repository, which make a nu
4343
Segmentation fault
4444
```
4545

46-
If **CCFLAGS** is add **-g** flag, more detail information will be output:
46+
If **CCFLAGS** is added **-g** flag, more detailed information will be output:
4747

4848
```shell
4949
[root@localhost libstacktrace]# ./example
@@ -62,7 +62,7 @@ Segmentation fault
6262

6363
The libstacktrace dependence on **libbfd** (Binary File Descriptor library).
6464

65-
bfd build elf sections data, find the file name, function name and source line where the stack pointer is located based on the elf sections data.
65+
bfd build elf sections data, find the file name, function name, and source line where the stack pointer is located based on the elf sections data.
6666

6767
bfd is provided by the **binutils** package, which can be installed in CentOS distributions with the following command:
6868

0 commit comments

Comments
 (0)