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
    nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Monday, 12-May-2025 12:26:36 JSTnyanide :nyancat_rainbow::nyancat_body::nyancat_face:nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
    in reply to
    • nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
    Alright genuine plea of help, because I am retarded:

    What's your way of destroying a linked list? Let's say it looks something like this:

    struct list {
    struct *list next;
    char *junk; // allocated on heap
    }

    I don't know why I'm having a panic attack over this, I'm trying to do this in a way that doesn't mean I have repeat code I've already written inside a function designed to destroy the list.
    In conversationabout a month ago from lab.nyanide.compermalink
  • 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.