Sponsored Content
The Lounge What is on Your Mind? Do You Sleep With Battery Powered Devices? Post 302358440 by thegeek on Friday 2nd of October 2009 02:03:06 PM
Old 10-02-2009
Without laptop & mobile i cannot sleep Smilie...
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

2. SCO

COuld not telnet but server powered

Hi We are running SCO unixware 7.1.1. I am new to unix so hope someone can help. This morning no one could log into the unix server by ssh. Server could not be pinged but the server was powered. We could not also view the screen. We have to manually power it down and it came back up. I... (0 Replies)
Discussion started by: tjsingh
0 Replies

3. Programming

SQL Powered Awk (SPAWK)

If anyone is interesting in using awk with MySQL databases, then I have some good news: I've developed a (shared) library, namely libspawk.so, using MySQL C API and GNU awk's extension feature. If you are using MySQL and you like awk, then you'll find very useful to use SPAWK module. Please... (0 Replies)
Discussion started by: Panos1962
0 Replies

4. Shell Programming and Scripting

Wrapping 'sleep' with my 'resleep' function (Resettable sleep)

This is a very crude attempt in Bash at something that I needed but didn't seem to find in the 'sleep' command. However, I would like to be able to do it without the need for the temp file. Please go easy on me if this is already possible in some other way: How many times have you used the... (5 Replies)
Discussion started by: deckard
5 Replies
SLEEP(3)						     Linux Programmer's Manual							  SLEEP(3)

NAME
sleep - sleep for the specified number of seconds SYNOPSIS
#include <unistd.h> unsigned int sleep(unsigned int seconds); DESCRIPTION
sleep() makes the calling thread sleep until seconds seconds have elapsed or a signal arrives which is not ignored. RETURN VALUE
Zero if the requested time has elapsed, or the number of seconds left to sleep, if the call was interrupted by a signal handler. CONFORMING TO
POSIX.1-2001. BUGS
sleep() may be implemented using SIGALRM; mixing calls to alarm(2) and sleep() is a bad idea. Using longjmp(3) from a signal handler or modifying the handling of SIGALRM while sleeping will cause undefined results. SEE ALSO
alarm(2), nanosleep(2), signal(2), signal(7) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU
2010-02-03 SLEEP(3)
All times are GMT -4. The time now is 02:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy