* Bug #6979 fixed - Help page of rlist() was unclear.
[scilab.git] / scilab / modules / data_structures / sci_gateway / c / sci_rlist.c
index 066f07d..5ff6056 100644 (file)
@@ -19,6 +19,9 @@ extern int C2F(mtlist)(); /* fortran */
 /*--------------------------------------------------------------------------*/
 int sci_rlist(char *fname, unsigned long fname_len)
 {
+
+    CheckInputArgument(pvApiCtx, 0, 3);
+
     if (nbInputArgument(pvApiCtx) == 2)
     {
         int lw = 0;