-/* $Id: js_dir.c,v 1.5 2006/09/15 18:30:49 mmondor Exp $ */
+/* $Id: js_dir.c,v 1.6 2006/10/21 05:44:45 mmondor Exp $ */
/*
* Copyright (c) 2006, Matthew Mondor
{ "tell", dir_m_tell, 0, 0, 0 },
{ "seek", dir_m_seek, 1, 0, 0 },
{ "rewind", dir_m_rewind, 0, 0, 0 },
- { "close", dir_m_close, 0, 0, 0 }
+ { "close", dir_m_close, 0, 0, 0 },
+ { NULL, NULL, 0, 0, 0 },
};
/* Static properties */
SP(DT_LNK),
SP(DT_SOCK),
#ifdef DT_WHT
- SP(DT_WHT)
+ SP(DT_WHT),
#endif
+ { NULL, 0 }
};
-/* $Id: js_file.c,v 1.6 2006/10/01 15:43:39 mmondor Exp $ */
+/* $Id: js_file.c,v 1.7 2006/10/21 05:44:46 mmondor Exp $ */
/*
* Copyright (c) 2006, Matthew Mondor
SP(_IOFBF),
SP(STDIN_FILENO),
SP(STDOUT_FILENO),
- SP(STDERR_FILENO)
+ SP(STDERR_FILENO),
+ { NULL, 0 }
};
/* Static methods */
{ "popen", file_sm_popen, 2, 0, 0 },
{ "tmpfile", file_sm_tmpfile, 0, 0, 0 },
{ "remove", file_sm_remove, 1, 0, 0 },
- { "strerror", file_sm_strerror, 1, 0, 0 }
+ { "strerror", file_sm_strerror, 1, 0, 0 },
+ { NULL, NULL, 0, 0, 0 }
};
/* Methods */
{ "gets", file_m_gets, 2, 0, 0 },
{ "getc", file_m_getc, 1, 0, 0 },
{ "ungetc", file_m_ungetc, 1, 0, 0 },
- { "putc", file_m_putc, 1, 0, 0 }
+ { "putc", file_m_putc, 1, 0, 0 },
+ { NULL, NULL, 0, 0, 0 }
};
/*
-/* $Id: js_fs.c,v 1.1 2006/09/15 21:04:48 mmondor Exp $ */
+/* $Id: js_fs.c,v 1.2 2006/10/21 05:44:46 mmondor Exp $ */
/*
* Copyright (c) 2006, Matthew Mondor
{ "creat", fs_sm_creat, 2, 0, 0 },
{ "mknod", fs_sm_mknod, 3, 0, 0 },
{ "mkfifo", fs_sm_mkfifo, 2, 0, 0 },
- { "symlink", fs_sm_symlink, 2, 0, 0 }
+ { "symlink", fs_sm_symlink, 2, 0, 0 },
+ { NULL, NULL, 0, 0, 0 }
};