-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge v0.1.2 changes
- Loading branch information
Showing
23 changed files
with
324 additions
and
168 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.IX Title "GET_OBJ_BY_BASENAME 3 | ||
.TH GET_OBJ_BY_BASENAME 3 "June 2023" "libpwu 1.0" "get_obj_by_basename" | ||
.\" Automatically generated by Pandoc 3.1.2 | ||
.\" | ||
.\" Define V font for inline verbatim, using C font in formats | ||
.\" that render this, and otherwise B font. | ||
.ie "\f[CB]x\f[]"x" \{\ | ||
. ftr V B | ||
. ftr VI BI | ||
. ftr VB B | ||
. ftr VBI BI | ||
.\} | ||
.el \{\ | ||
. ftr V CR | ||
. ftr VI CI | ||
. ftr VB CB | ||
. ftr VBI CBI | ||
.\} | ||
.hy | ||
.SS get_obj_by_basename() | ||
.IP | ||
.nf | ||
\f[C] | ||
int get_obj_by_basename(char * basename, maps_data * m_data, | ||
maps_obj ** matched_obj); | ||
\f[R] | ||
.fi | ||
.SS description | ||
.PP | ||
\f[V]get_obj_by_basename()\f[R] locates a backing object | ||
\f[V]matched_obj\f[R] in the provided \f[V]m_data\f[R] structure with a | ||
matching \f[V]basename\f[R] string. | ||
Use this function to locate backing objects by name. | ||
.SS parameters | ||
.IP \[bu] 2 | ||
\f[V]*basename\f[R] : name of the backing file for the queried region. | ||
.IP \[bu] 2 | ||
\f[V]*m_data\f[R] : \f[V]maps_data\f[R] structure to search. | ||
.IP \[bu] 2 | ||
\f[V]**matched_obj\f[R] : pointer to a backing object inside | ||
\f[V]m_data\f[R]. | ||
.SS return value | ||
.PP | ||
\f[V]0\f[R] on success, \f[V]-1\f[R] on no object found, \f[V]-2\f[R] on | ||
fail. |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.IX Title "GET_OBJ_BY_PATHNAME 3 | ||
.TH GET_OBJ_BY_PATHNAME 3 "June 2023" "libpwu 1.0" "get_obj_by_pathname" | ||
.\" Automatically generated by Pandoc 3.1.2 | ||
.\" | ||
.\" Define V font for inline verbatim, using C font in formats | ||
.\" that render this, and otherwise B font. | ||
.ie "\f[CB]x\f[]"x" \{\ | ||
. ftr V B | ||
. ftr VI BI | ||
. ftr VB B | ||
. ftr VBI BI | ||
.\} | ||
.el \{\ | ||
. ftr V CR | ||
. ftr VI CI | ||
. ftr VB CB | ||
. ftr VBI CBI | ||
.\} | ||
.hy | ||
.SS get_obj_by_pathname() | ||
.IP | ||
.nf | ||
\f[C] | ||
int get_obj_by_pathname(char * pathname, maps_data * m_data, | ||
maps_obj ** matched_obj); | ||
\f[R] | ||
.fi | ||
.SS description | ||
.PP | ||
\f[V]get_obj_by_pathname()\f[R] locates a backing object | ||
\f[V]matched_obj\f[R] in the provided \f[V]m_data\f[R] structure with a | ||
matching \f[V]pathname\f[R] string. | ||
Use this function to locate backing objects by name. | ||
.SS parameters | ||
.IP \[bu] 2 | ||
\f[V]*pathname\f[R] : name of the backing file for the queried region. | ||
.IP \[bu] 2 | ||
\f[V]*m_data\f[R] : \f[V]maps_data\f[R] structure to search. | ||
.IP \[bu] 2 | ||
\f[V]**matched_obj\f[R] : pointer to a backing object inside | ||
\f[V]m_data\f[R]. | ||
.SS return value | ||
.PP | ||
\f[V]0\f[R] on success, \f[V]-1\f[R] on no object found, \f[V]-2\f[R] on | ||
fail. |
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 was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## get\_obj\_by\_basename() | ||
|
||
```c | ||
int get_obj_by_basename(char * basename, maps_data * m_data, | ||
maps_obj ** matched_obj); | ||
``` | ||
### description | ||
`get_obj_by_basename()` locates a backing object `matched_obj` in the provided `m_data` structure with a matching `basename` string. Use this function to locate backing objects by name. | ||
### parameters | ||
- `*basename` : name of the backing file for the queried region. | ||
- `*m_data` : `maps_data` structure to search. | ||
- `**matched_obj` : pointer to a backing object inside `m_data`. | ||
### return value | ||
`0` on success, `-1` on no object found, `-2` on fail. |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## get\_obj\_by\_pathname() | ||
|
||
```c | ||
int get_obj_by_pathname(char * pathname, maps_data * m_data, | ||
maps_obj ** matched_obj); | ||
``` | ||
### description | ||
`get_obj_by_pathname()` locates a backing object `matched_obj` in the provided `m_data` structure with a matching `pathname` string. Use this function to locate backing objects by name. | ||
### parameters | ||
- `*pathname` : name of the backing file for the queried region. | ||
- `*m_data` : `maps_data` structure to search. | ||
- `**matched_obj` : pointer to a backing object inside `m_data`. | ||
### return value | ||
`0` on success, `-1` on no object found, `-2` on fail. |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.