~emersion/mrsh

ref: 4da12aae651dac2f0c6818f54d5d8b5f0a9e8bf6 mrsh/include/mrsh/builtin.h -rw-r--r-- 318 bytes
4da12aaeDrew DeVault Implement 'shift' builtin 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _MRSH_BUILTIN_H
#define _MRSH_BUILTIN_H

#include <mrsh/shell.h>

bool mrsh_has_builtin(const char *name);
bool mrsh_has_special_builtin(const char *name);
int mrsh_run_builtin(struct mrsh_state *state, int argc, char *argv[]);

int mrsh_process_args(struct mrsh_state *state, int argc, char *argv[]);

#endif