rc

[fork] interactive rc shell
git clone https://hhvn.uk/rc
git clone git://hhvn.uk/rc
Log | Files | Refs | README | LICENSE

edit-null.c (605B)


      1 #include "rc.h"
      2 
      3 #include <errno.h>
      4 
      5 #include <sys/types.h>
      6 
      7 #include "edit.h"
      8 
      9 bool editing = 0;
     10 
     11 void *edit_begin(int fd) {
     12 	assert(0); /* should never be called */
     13 	return NULL;
     14 }
     15 
     16 char *edit_alloc(void *cookie, size_t *count) {
     17 	assert(0); /* should never be called */
     18 	return NULL;
     19 }
     20 
     21 void edit_prompt(void *cookie, char *prompt) {
     22 	assert(0); /* should never be called */
     23 }
     24 
     25 void edit_free(void *buffer) {
     26 	assert(0); /* should never be called */
     27 }
     28 
     29 void edit_end(void *cookie) {
     30 	assert(0); /* should never be called */
     31 }
     32 
     33 void edit_reset(void *cookie) {
     34 	assert(0); /* should never be called */
     35 }