GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Howard Chu @ Symas (hyc@mastodon.social)'s status on Sunday, 22-Mar-2026 20:44:19 JSTHoward Chu @ SymasHoward Chu @ Symas
    in reply to
    • Leah Rowe is not a Rowebot

    @libreleah agreed. I wrote LMDB this way as well, return from functions is an error code or 0 for success; any values to be returned go thru the parameter list.

    The C standard string functions suck. https://mastodon.social/@hyc/111596133680619519

    In conversationabout 19 days ago from mastodon.socialpermalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Howard Chu @ Symas (@hyc@mastodon.social)
      from Howard Chu @ Symas
      It's all simple enough to fit in a 200char tweet, too but I can't link to that since my twitter account is dead... char *stecpy(char *dst, const char *src, const char *end) { while (*src && dst < end) *dst++ = *src++; if (dst == end) dst--; *dst = '\0'; return dst; } main() { char buf[64]; char *ptr, *end = buf+sizeof(buf); ptr = stecpy(buf, "hello", end); ptr = stecpy(ptr, " world", end); }
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.