diff options
Diffstat (limited to 'perl/Guestfs.xs')
-rw-r--r-- | perl/Guestfs.xs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs index 08b55b81..7b923f6a 100644 --- a/perl/Guestfs.xs +++ b/perl/Guestfs.xs @@ -2523,3 +2523,14 @@ PREINIT: if (r == -1) croak ("e2fsck_f: %s", guestfs_last_error (g)); +void +sleep (g, secs) + guestfs_h *g; + int secs; +PREINIT: + int r; + PPCODE: + r = guestfs_sleep (g, secs); + if (r == -1) + croak ("sleep: %s", guestfs_last_error (g)); + |