return mask;
}
+#ifdef unix
+
+DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "",
+ "Tell Unix to finish all pending disk updates.")
+ ()
+{
+ sync ();
+ return Qnil;
+}
+
+#endif /* unix */
+
DEFUN ("file-newer-than-file-p", Ffile_newer_than_file_p, Sfile_newer_than_file_p, 2, 2, 0,
"Return t if file FILE1 is newer than file FILE2.\n\
If FILE1 does not exist, the answer is nil;\n\
defsubr (&Sread_file_name_internal);
defsubr (&Sread_file_name);
+
+ defsubr (&Sunix_sync);
}
return make_number (XSCREEN (screen)->display.x->pixel_height);
}
\f
+#if 0 /* These no longer seem like the right way to do things. */
+
/* Draw a rectangle on the screen with left top corner including
the character specified by LEFT_CHAR and TOP_CHAR. The rectangle is
CHARS by LINES wide and long and is the color of the cursor. */
}
#endif
-#if 0
DEFUN ("x-horizontal-line", Fx_horizontal_line, Sx_horizontal_line, 1, 1, "e",
"")
(event)
defsubr (&Sx_get_resource);
defsubr (&Sx_pixel_width);
defsubr (&Sx_pixel_height);
+#if 0
defsubr (&Sx_draw_rectangle);
defsubr (&Sx_erase_rectangle);
defsubr (&Sx_contour_region);
defsubr (&Sx_uncontour_region);
+#endif
defsubr (&Sx_color_display_p);
defsubr (&Sx_defined_color);
#if 0