First of all go to /usr/src/include and create a header file with this structure:
NAME.h
_PROTOTYPE(int FUNCTION_NAME, (int PARAM));
After this go to /usr/src/lib/other and create the file with this structure:
NAME.c
#include<lib.h>
#include<unistd.h>
#include<stdio.h>PUBLIC int FUNCTION_NAME(int PARAM) {
// WHAT TO DO?!
}
Edit the file Makefile.in in the same directory (/usr/src/lib/other). Add the name of your file in the list using alphabetical order.
What to do now?
You need to regenerate the Makefile.
$ cd /usr/src/lib/other/
$ make Makefile
Generate the libraries: (slow process)
$ cd /usr/src/tools
$ make libraries
And when it ends without erros “compile” the system:
$ cd /usr/src/tools
$ make hdboot
It will replace your system with the new one automaticlly, you must restart to see the changes.
Now how to test? Create a file in /root dir.
testTest.c
#include <stdio.h>
#include <unistd.h>
#include <lib.h>
#include <fcntl.h>
#include <NAME.h>int main(int argc, char *argv[]) {
FUNCTION_NAME(PARAM);
}
Now you can create your own libraries to Minix system.
Example of library created by user to Minix
Best Regards,
Matheus
speelautomatenhal venlo
Stop by my page; baccarat echt geld – Camille –
top 5 sportsbooks goalscorer betting
gokkasten beste casino met cruks (https://www.nadromhud.se/wat-is-de-minimum-inzet-voor-live-roulette/) makkelijke registratie
blockchain casino nederland
Feel free to surf to my web site :: Beginnen Met
Online Gokken (Kindergarten-Neckenmarkt.At)
betrouwbaar goksite zonder cruks
Feel free to visit my website; Casino Kortrijk Online
meest betrouwbare goksite 2026
Also visit my webpage blackjack met cashback nederland (Natisha)
sportsbook odds comparison
Have a look at my page – betting sites that accept crypto
καζινο καταθεση usdt
Here is my web blog: σλοτ τυχη
canadian original free slots, poker usa artrix and play
slots for real money usa, or pokies open in south united states
My web blog future of gambling research [Hung]
sign up offers betting, Courtney, corners
tips
is online pokies banned in united states, Online casino Top 2022 casino paypal deposit
usa and casinos uk online blackjack fruit slots, or online
slot usa
spread betting strategies
Also visit my web page :: best il sportsbook app
android sports Starting Credit no Deposit betting app
online is turning stone casino still open (Chara) legal
united states, mobile poker real money australia and uk casinos free spins,
or best casino cities in united kingdom
crypto betting games (Delphia)
Stoke betting
shops birmingham
que significa asiatico en apps Apuestas mundial
best betting site
Have a look at my web blog – bet online sportsbook (Lashonda)
hokejovy zazrak online cz
my web blog – Kurzové SáZení Daně
online casino uitbetaling trustly
Look into my page :: blackjack minimale inzet
online betting games for android
Feel free to surf to my blog post :: Sportsbook Review
casino game internet uk, free money online casino canada and
new zealand real money pokies app, or trusted uk casinos
my homepage do professional gamblers exist (Lupita)
australian online mobile Casino promo Code apps, bet365
free casino usa and online pokies paysafe united states, or gambling bonuses co usa
888 poker deposit united kingdom, top poker sites uk
and poker rooms in canada, or online casino united states live dealer
Look at my web site – bingo rules australia (Wanda)
captain cooks casino united kingdom review, no deposit
bonus on sign up usa and all united statesn 10 cent bingo,
or fort erie casino ontario united kingdom
My page – rick salomon gambling site – Gene –
chelsea tottenham betting shops online (Carina) odds
iscriviti a burraconline
Feel free to visit my web blog – il Segreto Delle slot machine
best online casino bc australia, best non usa casino thief river falls mn (Shayla) sites and top 100 usa casino sites,
or sun bingo uk
australian online casinos that accept paypal, is there a making your own casino game in taunton and free united
statesn poker money, or 2021 no deposit bonus codes uk
casinos crypto españa
My webpage casino con bono De regalo dinero Real