diff options
Diffstat (limited to 'man3')
-rw-r--r-- | man3/libsimple_mempmove.3 | 6 | ||||
-rw-r--r-- | man3/libsimple_stpmove.3 | 74 | ||||
-rw-r--r-- | man3/libsimple_stpnmove.3 | 79 | ||||
-rw-r--r-- | man3/libsimple_strmove.3 | 69 | ||||
-rw-r--r-- | man3/libsimple_strnmove.3 | 71 | ||||
l--------- | man3/stpmove.3libsimple | 1 | ||||
l--------- | man3/stpnmove.3libsimple | 1 | ||||
l--------- | man3/strmove.3libsimple | 1 | ||||
l--------- | man3/strnmove.3libsimple | 1 |
9 files changed, 302 insertions, 1 deletions
diff --git a/man3/libsimple_mempmove.3 b/man3/libsimple_mempmove.3 index d68c6dc..99e09c3 100644 --- a/man3/libsimple_mempmove.3 +++ b/man3/libsimple_mempmove.3 @@ -1,4 +1,4 @@ -.TH LIBSIMPLE_MEMPMOVE 3 2018-10-23 libsimple +.TH LIBSIMPLE_MEMPMOVE 3 2018-11-16 libsimple .SH NAME libsimple_mempmove \- move bytes within an array of bytes .SH SYNOPSIS @@ -69,4 +69,8 @@ None. .SH SEE ALSO .BR libsimple_mempcpy (3), .BR libsimple_mempset (3), +.BR libsimple_strmove (3), +.BR libsimple_stpmove (3), +.BR libsimple_strnmove (3), +.BR libsimple_stpnmove (3), .BR memmove (3) diff --git a/man3/libsimple_stpmove.3 b/man3/libsimple_stpmove.3 new file mode 100644 index 0000000..5b28622 --- /dev/null +++ b/man3/libsimple_stpmove.3 @@ -0,0 +1,74 @@ +.TH LIBSIMPLE_STPMOVE 3 2018-11-16 libsimple +.SH NAME +libsimple_stpmove \- move a string within an array of bytes +.SH SYNOPSIS +.nf +#include <libsimple.h> + +static inline void *libsimple_stpmove(void *\fIdest\fP, const void *\fIsrc\fP); + +#ifndef stpmove +# define stpmove libsimple_stpmove +#endif +.fi +.PP +Link with +.IR \-lsimple . +.SH DESCRIPTION +The +.BR libsimple_stpmove () +function copies the string, including the +NUL byte that terminates it, +.I src +into +.IR dest . +The arrays may overlap. +.SH RETURN VALUE +The +.BR libsimple_stpmove () +function returns the pointer +.I dest +with the offset of the length of string +.I str +(the address of the copied NUL byte in +.IR dest ). +.SH ERRORS +The +.BR libsimple_stpmove () +function cannot fail. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.TS +allbox; +lb lb lb +l l l. +Interface Attribute Value +T{ +.BR libsimple_stpmove () +T} Thread safety MT-Safe +T{ +.BR libsimple_stpmove () +T} Async-signal safety AS-Safe +T{ +.BR libsimple_stpmove () +T} Async-cancel safety AC-Safe +.TE +.SH EXAMPLES +None. +.SH APPLICATION USAGE +None. +.SH RATIONALE +None. +.SH FUTURE DIRECTIONS +None. +.SH NOTES +None. +.SH BUGS +None. +.SH SEE ALSO +.BR libsimple_strmove (3), +.BR libsimple_stpnmove (3), +.BR libsimple_mempmove (3), +.BR stpcpy (3), +.BR memmove (3) diff --git a/man3/libsimple_stpnmove.3 b/man3/libsimple_stpnmove.3 new file mode 100644 index 0000000..e2ead53 --- /dev/null +++ b/man3/libsimple_stpnmove.3 @@ -0,0 +1,79 @@ +.TH LIBSIMPLE_STPNMOVE 3 2018-11-16 libsimple +.SH NAME +libsimple_stpnmove \- move a string within an array of bytes +.SH SYNOPSIS +.nf +#include <libsimple.h> + +static inline void *libsimple_stpnmove(void *\fIdest\fP, const void *\fIsrc\fP, size_t \fIn\fP); + +#ifndef stpnmove +# define stpnmove libsimple_stpnmove +#endif +.fi +.PP +Link with +.IR \-lsimple . +.SH DESCRIPTION +The +.BR libsimple_stpnmove () +function copies the first +.I n +bytes of the string, including the +NUL byte that terminates it (if any), +.I src +into +.IR dest . +The arrays may overlap. +.SH RETURN VALUE +The +.BR libsimple_stpnmove () +function returns the pointer +.I dest +with the offset of the length of string +.I str +(the address of the copied NUL byte in +.I dest +or +.I &dest[n] +if no NUL byte was copied). +.SH ERRORS +The +.BR libsimple_stpnmove () +function cannot fail. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.TS +allbox; +lb lb lb +l l l. +Interface Attribute Value +T{ +.BR libsimple_stpnmove () +T} Thread safety MT-Safe +T{ +.BR libsimple_stpnmove () +T} Async-signal safety AS-Safe +T{ +.BR libsimple_stpnmove () +T} Async-cancel safety AC-Safe +.TE +.SH EXAMPLES +None. +.SH APPLICATION USAGE +None. +.SH RATIONALE +None. +.SH FUTURE DIRECTIONS +None. +.SH NOTES +None. +.SH BUGS +None. +.SH SEE ALSO +.BR libsimple_strnmove (3), +.BR libsimple_stpmove (3), +.BR libsimple_mempmove (3), +.BR stpncpy (3), +.BR memmove (3) diff --git a/man3/libsimple_strmove.3 b/man3/libsimple_strmove.3 new file mode 100644 index 0000000..39c4572 --- /dev/null +++ b/man3/libsimple_strmove.3 @@ -0,0 +1,69 @@ +.TH LIBSIMPLE_STRMOVE 3 2018-11-16 libsimple +.SH NAME +libsimple_strmove \- move a string within an array of bytes +.SH SYNOPSIS +.nf +#include <libsimple.h> + +static inline void *libsimple_strmove(void *\fIdest\fP, const void *\fIsrc\fP); + +#ifndef strmove +# define strmove libsimple_strmove +#endif +.fi +.PP +Link with +.IR \-lsimple . +.SH DESCRIPTION +The +.BR libsimple_strmove () +function copies the string, including the +NUL byte that terminates it, +.I src +into +.IR dest . +The arrays may overlap. +.SH RETURN VALUE +The +.BR libsimple_strmove () +function returns the pointer +.IR dest . +.SH ERRORS +The +.BR libsimple_strmove () +function cannot fail. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.TS +allbox; +lb lb lb +l l l. +Interface Attribute Value +T{ +.BR libsimple_strmove () +T} Thread safety MT-Safe +T{ +.BR libsimple_strmove () +T} Async-signal safety AS-Safe +T{ +.BR libsimple_strmove () +T} Async-cancel safety AC-Safe +.TE +.SH EXAMPLES +None. +.SH APPLICATION USAGE +None. +.SH RATIONALE +None. +.SH FUTURE DIRECTIONS +None. +.SH NOTES +None. +.SH BUGS +None. +.SH SEE ALSO +.BR libsimple_stpmove (3), +.BR libsimple_strnmove (3), +.BR strcpy (3), +.BR memmove (3) diff --git a/man3/libsimple_strnmove.3 b/man3/libsimple_strnmove.3 new file mode 100644 index 0000000..46776be --- /dev/null +++ b/man3/libsimple_strnmove.3 @@ -0,0 +1,71 @@ +.TH LIBSIMPLE_STRNMOVE 3 2018-11-16 libsimple +.SH NAME +libsimple_strnmove \- move a string within an array of bytes +.SH SYNOPSIS +.nf +#include <libsimple.h> + +static inline void *libsimple_strnmove(void *\fIdest\fP, const void *\fIsrc\fP, size_t \fIn\fP); + +#ifndef strnmove +# define strnmove libsimple_strnmove +#endif +.fi +.PP +Link with +.IR \-lsimple . +.SH DESCRIPTION +The +.BR libsimple_strnmove () +function copies the first +.I n +bytes of the string, including the +NUL byte that terminates it (if any), +.I src +into +.IR dest . +The arrays may overlap. +.SH RETURN VALUE +The +.BR libsimple_strnmove () +function returns the pointer +.IR dest . +.SH ERRORS +The +.BR libsimple_strnmove () +function cannot fail. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.TS +allbox; +lb lb lb +l l l. +Interface Attribute Value +T{ +.BR libsimple_strnmove () +T} Thread safety MT-Safe +T{ +.BR libsimple_strnmove () +T} Async-signal safety AS-Safe +T{ +.BR libsimple_strnmove () +T} Async-cancel safety AC-Safe +.TE +.SH EXAMPLES +None. +.SH APPLICATION USAGE +None. +.SH RATIONALE +None. +.SH FUTURE DIRECTIONS +None. +.SH NOTES +None. +.SH BUGS +None. +.SH SEE ALSO +.BR libsimple_stpnmove (3), +.BR libsimple_strmove (3), +.BR strncpy (3), +.BR memmove (3) diff --git a/man3/stpmove.3libsimple b/man3/stpmove.3libsimple new file mode 120000 index 0000000..d4e1348 --- /dev/null +++ b/man3/stpmove.3libsimple @@ -0,0 +1 @@ +libsimple_stpmove.3
\ No newline at end of file diff --git a/man3/stpnmove.3libsimple b/man3/stpnmove.3libsimple new file mode 120000 index 0000000..cb5b24e --- /dev/null +++ b/man3/stpnmove.3libsimple @@ -0,0 +1 @@ +libsimple_stpnmove.3
\ No newline at end of file diff --git a/man3/strmove.3libsimple b/man3/strmove.3libsimple new file mode 120000 index 0000000..7bcb3d1 --- /dev/null +++ b/man3/strmove.3libsimple @@ -0,0 +1 @@ +libsimple_strmove.3
\ No newline at end of file diff --git a/man3/strnmove.3libsimple b/man3/strnmove.3libsimple new file mode 120000 index 0000000..932b082 --- /dev/null +++ b/man3/strnmove.3libsimple @@ -0,0 +1 @@ +libsimple_strnmove.3
\ No newline at end of file |