GDB (API)
|
00001 /* Copyright (C) 2009-2013 Free Software Foundation, Inc. 00002 00003 This file is part of GDB. 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00017 00018 #if !defined(GDB_USLEEP_H) 00019 #define GDB_USLEEP_H 00020 00021 /* Suspend execution for USEC microseconds. 00022 00023 Limitation: If a signal is raised during the delay, gdb_usleep 00024 might return earlier than requested. 00025 00026 It returns 0 on success or -1 on error. */ 00027 extern int gdb_usleep (int usect); 00028 00029 #endif /* !defined(GDB_USLEEP_H) */ 00030