{"id":6955,"date":"2022-12-20T19:34:26","date_gmt":"2022-12-20T22:34:26","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/bstring-man3\/"},"modified":"2022-12-20T19:34:26","modified_gmt":"2022-12-20T22:34:26","slug":"bstring-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/bstring-man3\/","title":{"rendered":"BSTRING (man3)"},"content":{"rendered":"<h1 align=\"center\">BSTRING<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COLOPHON\">COLOPHON<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem, memmove, memset \u2212 byte string operations<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>#include <string.h><\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>int bcmp(const void *<\/b><i>s1<\/i><b>, const void *<\/b><i>s2<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void bcopy(const void *<\/b><i>src<\/i><b>, void *<\/b><i>dest<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void bzero(void *<\/b><i>s<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void *memccpy(void *<\/b><i>dest<\/i><b>, const void *<\/b><i>src<\/i><b>, int<\/b> <i>c<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void *memchr(const void *<\/b><i>s<\/i><b>, int<\/b> <i>c<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>int memcmp(const void *<\/b><i>s1<\/i><b>, const void *<\/b><i>s2<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void *memcpy(void *<\/b><i>dest<\/i><b>, const void *<\/b><i>src<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void *memfrob(void *<\/b><i>s<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void *memmem(const void *<\/b><i>haystack<\/i><b>, size_t<\/b> <i>haystacklen<\/i><b>, <br \/> const void *<\/b><i>needle<\/i><b>, size_t<\/b> <i>needlelen<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void *memmove(void *<\/b><i>dest<\/i><b>, const void *<\/b><i>src<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>void *memset(void *<\/b><i>s<\/i><b>, int<\/b> <i>c<\/i><b>, size_t<\/b> <i>n<\/i><b>);<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The byte string functions perform operations on strings (byte arrays) that are not necessarily null-terminated. See the individual man pages for descriptions of each function.<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The functions <b>bcmp<\/b>(), <b>bcopy<\/b>(), and <b>bzero<\/b>() are obsolete. Use <b>memcmp<\/b>(), <b>memcpy<\/b>(), and <b>memset<\/b>() instead.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>bcmp<\/b>(3), <b>bcopy<\/b>(3), <b>bzero<\/b>(3), <b>memccpy<\/b>(3), <b>memchr<\/b>(3), <b>memcmp<\/b>(3), <b>memcpy<\/b>(3), <b>memfrob<\/b>(3), <b>memmem<\/b>(3), <b>memmove<\/b>(3), <b>memset<\/b>(3)<\/p>\n<h2>COLOPHON <a name=\"COLOPHON\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This page is part of release 5.10 of the Linux <i>man-pages<\/i> project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https:\/\/www.kernel.org\/doc\/man\u2212pages\/.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem, memmove, memset \u2212 byte string operations <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2536],"tags":[2538,3307,3007],"class_list":["post-6955","post","type-post","status-publish","format-standard","hentry","category-3-llamadas-de-bibliotecas","tag-2538","tag-bstring","tag-man3"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6955"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6955\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}