libmemif: cleanup typos

cleaned up typos in documetation while doing a read through.

Type: style

Change-Id: Id8abbd8d6297ee10490c12a8e62097224f7ec1e1
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2020-05-15 23:13:36 -04:00
committed by Matthew Smith
parent 59a78e966c
commit f4fbfd692f
7 changed files with 42 additions and 42 deletions

View File

@@ -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;
```