hi everybody,
I just installed Suse on an old Packard Bell.
When the install was at detecting my moden, it hung. I couldn't free it sooooo, I pressed ctrl+alt+backspace.
Yup that killed the process alright.
The machine went right down and upon reboot it is now at the KDE welcome page.
Here... (2 Replies)
Ok, here's the situation....I have this code...
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout << "\nBlah, and Blah\n\n";
system("PAUSE");
return 0;
}
Now, "system("PAUSE")" gets executed before "cout" does, and I have... (2 Replies)
Hello
I am trying to tar a whole directory. My problem is that I have to omitt a special subdirectory.
Can you tell my how I am supposed to do that?
Unfortunately I am not very good in regular expressions and in programming. :(
Thanks for any help.
Greetings
Marcus (1 Reply)
Hi Everyone:
Last Thursday my system come up those error log and haven't show up any details. Does anyone know what it mean? I need help :confused:
9359F226 0424184208 N U LVDD
00D2B9FE 0424183208 N U tok0
D0775966 0424182908 N U tok0
A9428A1A 0424170108 N U tok0
71B416E1 ... (0 Replies)
This may seem like an odd question, but I've heard that on old Alpha servers running OpenVMS, you could pause the system so that the OS is essentially suspended for a small period of time, then unpause it and it would pick up where it left off. During the pause, all CPU cycles would be halted, all... (3 Replies)
I am running OpenIndiana development version oi_148 32-bit on a seven-year-old Dell Inspiron 8600.
Seems to be running fine except for one particular annoyance: It freezes whenever a system bell/beep plays.
I have mitigated this by turning the system bell off in gnome-terminal, which I use... (3 Replies)
Hi Experts,
I have a code like this.
=====
#include....
int main()
{
int count = 0;
while(1){
printf("\n Interation number is: %d \n ",count);
rv = system(" test.sh > log.txt " );
if (-1 == rv)
{
printf("Could not generate static log: error... (12 Replies)
Discussion started by: binnyjeshan
12 Replies
LEARN ABOUT MOJAVE
usleep
USLEEP(3) BSD Library Functions Manual USLEEP(3)NAME
usleep -- suspend thread execution for an interval measured in microseconds
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
usleep(useconds_t microseconds);
DESCRIPTION
The usleep() function suspends execution of the calling thread until either microseconds microseconds have elapsed or a signal is delivered
to the thread and its action is to invoke a signal-catching function or to terminate the process. System activity or limitations may
lengthen the sleep by an indeterminate amount.
This function is implemented using nanosleep(2) by pausing for microseconds microseconds or until a signal occurs. Consequently, in this
implementation, sleeping has no effect on the state of process timers, and there is no special handling for SIGALRM. Also, this implementa-
tion does not put a limit on the value of microseconds (other than that limited by the size of the useconds_t type); some other platforms
require it to be less than one million.
NOTE
The usleep() function is obsolescent. Use nanosleep(2) instead.
RETURN VALUES
The usleep() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate
the error.
ERRORS
The usleep() function will fail if:
[EINTR] A signal was delivered to the process and its action was to invoke a signal-catching function.
SEE ALSO nanosleep(2), sleep(3)HISTORY
The usleep() function appeared in 4.3BSD.
BSD February 13, 1998 BSD