This is not a repeat of this question: How to access clipboard data programmatically ?
It is similar to the copied question, but I'm wondering if it's possible to access the buffer from a C language or bash program. I know about the method NSGeneralPboard readObjectsForClasses:options:
from cocoa and pbcopy
and pbpaste
from mac terminal, but what I'm looking for is more lower level than that. Is this possible or does mac only let you develop with their API in cocoa, swift, or objective C?
My main goal is to build a simple program that can store history of the clipboard. I know there are a ton of apps that do this, but I'm curious to see how to build this.