Login
7 branches 0 tags
Ben(Parabola/X220) Minor termed improvements 9e49b2d 2 years ago 1014 Commits
nujel / bin / private.h
#ifndef NUJEL_BIN_PRIVATE
#define NUJEL_BIN_PRIVATE

#ifndef NUJEL_AMALGAMATION
#include "../lib/nujel.h"
#endif

#if (!defined(_WIN32)) && (!defined(__wasi__))
#include <termios.h>
#endif

#include <stdio.h>
#include <stdlib.h>

#if defined(_MSC_VER)
#include <io.h>
#define access(path, mode) _access(path, mode)
#else
#include <unistd.h>
#endif

extern lSymbol *lSymError;
extern lSymbol *lSymReplace;
extern lSymbol *lSymAppend;

void initEnvironmentMap(lClosure *c);
void setIOSymbols();
void lOperationsIO(lClosure *c);
void lOperationsPort(lClosure *c);
void lOperationsInit(lClosure *c);

int makeDir(const char *name);

#endif