aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/docs/gettingstarted_doc.md
diff options
context:
space:
mode:
Diffstat (limited to 'extras/libmemif/docs/gettingstarted_doc.md')
-rw-r--r--extras/libmemif/docs/gettingstarted_doc.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/libmemif/docs/gettingstarted_doc.md b/extras/libmemif/docs/gettingstarted_doc.md
index 1e5ce227eb3..977c5445bdf 100644
--- a/extras/libmemif/docs/gettingstarted_doc.md
+++ b/extras/libmemif/docs/gettingstarted_doc.md
@@ -18,7 +18,7 @@ control_fd_update (int fd, uint8_t events)
err = memif_init (control_fd_update, APP_NAME, NULL, NULL);
```
-> If event occurres on any file descriptor returned by this callback, call memif\_control\_fd\_handler function. Since version 2.0, last two optional arguments are used to specify custom memory allocation.
+> If event occurs on any file descriptor returned by this callback, call memif\_control\_fd\_handler function. Since version 2.0, last two optional arguments are used to specify custom memory allocation.
```C
memif_err = memif_control_fd_handler (evt.data.fd, events);
```
@@ -38,7 +38,7 @@ memif_err = memif_control_fd_handler (evt.data.fd, events);
> Memif initialization function will initialize internal structures and create timer file descriptor, which will be used for sending periodic connection requests. Timer is disarmed if no memif interface is created.
2. Creating interface
- - Declare memif connction handle.
+ - Declare memif connection handle.
```C
memif_conn_handle_t c;
```