Adding syntact highlighting
This commit is contained in:
@@ -31,7 +31,7 @@ Lets go over each function:
|
||||
|
||||
### strcat
|
||||
|
||||
```
|
||||
```c
|
||||
char *strcat(char *dest, char *src)
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ Be sure to set the last character to `null` after the `strcat` is completed.
|
||||
|
||||
### strncat
|
||||
|
||||
```
|
||||
```c
|
||||
strncat(char *dest, char *src, size_t src_len)
|
||||
```
|
||||
|
||||
@@ -61,7 +61,7 @@ In addition if `src` is not `null` terminated and `src_len` is longer than the l
|
||||
|
||||
### strlcat
|
||||
|
||||
```
|
||||
```c
|
||||
size_t strlcat(char *dst, const char *src, size_t size)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user