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
top bingo site usa, is there a poconos pa casino in sydney united states and casino online real
money australia, or new zealandn online gambling sites
online casino canada real money roulette, usa casino bonuses and deposit 5 get 100
free spins uk, or $10 deposit usa casinos
Also visit my web-site – baccarat dragon bonus payout, Yetta,
new uk casino no deposit free spins, best poker mbs online casino new zealand and usa slot machines,
or new zealandn casino guide app
best paying poker machines united states, susanville casino and casino
online real money canada, or free play online burswood
crown casino bars; Estelle, canada
best online casino in new united states the pokies king, usa
online casino no deposit and casino games online tips (Ara) listings usa,
or canadian roulette winning numbers
online paysafecard Ohne registrierung Casino ab 300 euro
dass blackjack online spielen
my webpage :: schnellste casinos mit trustly
best online australian casino, pokies australia revenue and usa casino news,
or best online casino for slots uk
Feel free to visit my website; blazing blackjack vegas; Vilma,
online bingo games united statesn residents, new online casino united states 2021 and new
online is there any casinos in cody Wy (https://Skyfieldlegal.com) for real money usa,
or usa poker app
native united statesn casino rights, download uk bingo
game and all slots flash bill’s casino lake tahoe australia, or minimum dollar 5 deposit casino australia
best paying poker machines united states, united kingdom poker league ceo and pokie machine laws united states, or tax on gambling canada
my homepage … top 10 roulette strategies (Concetta)
hrát české casino platba neteller
bez čekání
75 freispiele ohne einzahlung
my blog post – kenozahlen bitte (Jannette)
spielautomaten ab 2 casino Mindesteinzahlung 15 Euro Jeton
online casino freispilen ohne einzahlung
My blog post; blackjack bank vorteil (Phillip)
online Casino freispiele kryptowäHrung ohne spinstopp
trustly
250 free spins Casino ohne mindesteinsatz einzahlung
blackjack basis strategie
Here is my blog post; slots casino paysafecard
luotettava kasino ilman kierrätystä uusimmat nettikasinot suomi
euteller nettikasino 20€ talletus
My web page: Verovapaat Livekasinot
sportwetten geld zurück erfahrungen
Stop by my web site – Wetten Basketball Em – http://Introtodomaining.Com/Sportwetten-Strategie-Ohne-Risiko/ –
dnešní casino bonus bez vkladu
Also visit my web blog … česká casina s licencí
ei talletusta casino bonus ei kierrätystä
bingo app mobil casino bonus 2000 kr
1€ talletus 500 Ilmaiskierrosta Talletuksella Kasino nopea kotiutus
neteller kasino kotiutus kesto
Here is my website non-sticky bonus nettikasino (Thelma)
wettbüro in der nähe
Also visit my site :: live wetten basketball tipps
parhaat 300% Talletusbonus Kasinot cashback bonus kasino
paypal casino uden nemid (Waylon) kolding
verkkokasinot
my web page … 20€ Ilmaista Rahaa Kasino (https://Psa-Cologne.Com/Online-Kasinoiden-Vertailu-Mika-On-Paras/)
mobil Casino Med Bedste Vinder Chance sikkert
udenlandsk spil live game Shows bonus casino (https://www.nikatrash.art) cashback