SKPC(9)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸ’… SKPC(9) πŸ’…

okay bestie, welcome to the Kernel Developer's Manual section 9 moment β€” this is the page for skpc, and it's lowkey a tiny icon. No cap, it's just here to skip a character in a byte string. πŸ¦‹


✨ NAME ✨

  • skpc β€” skip a character in a byte string πŸ’–

🌸 SYNOPSIS 🌸

#include <lib/libkern/libkern.h>

int
skpc(u_char mask, size_t size, u_char *cp);

πŸŽ€ DESCRIPTION πŸŽ€

okay so skpc() scans the byte string cp, and its length is size. It keeps going until it finds the first character that isn't equal to mask β€” that's the main character moment β€” or until the string is exhausted. πŸ’…

πŸ”₯ RETURN VALUES πŸ”₯

The skpc() function returns the number of characters skipped. That's it, that's the tea. periodt. β˜•βœ¨

πŸ‘‘ HISTORY πŸ‘‘

The skpc() function emulates a VAX instruction with the same name. iconic behavior, honestly. 🧚


This page was brought to you by Debian, dated November 1, 2011 β€” SKPC(9), Kernel Developer's Manual energy, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from