Sponsored Content
The Lounge What is on Your Mind? For Indian Members: What City Do You Live? Post 302461741 by Neo on Tuesday 12th of October 2010 06:28:25 AM
Old 10-12-2010
Quote:
Originally Posted by malcomex999
Well, you got me on that but IT people can work from anywhere now a days though Goa is a tourist spot Smilie.
I don't think many Indians work remotely from Internet locations, like in the US. Isn't that right?

From my understand, and please correct me if my knowledge is out-of-date, the business culture in Indian remains dominated by working from offices and data centers; and few people work from home, including IT people.
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

city wide connection

what would be the best way to phyisically connect a series of computerised bus stops to a central computer in a city-wide network?? (3 Replies)
Discussion started by: spitfireuk1
3 Replies

2. What is on Your Mind?

For China members:which city do you live?

hi guys: i am live in Changsha China , i am study here . which city do you live? (1 Reply)
Discussion started by: kingdream
1 Replies

3. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates" The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
people(2)							System Calls Manual							 people(2)

NAME
people - fetch a structure containing all ttys, whose owner behaves like a human SYNOPSIS
#include <sys/people.h> #include <asr.h> int people (struct ppl_tty **ttys); DESCRIPTION
The people function fetches a short description of every tty, whose coupled process behaves as an actual human. It returns a newly malloc'ed array with just enough elements to contain all elements needed for this. The struct ppl_tty is declared as: struct ppl_tty { char tty_path[MAX_PATH_LENGTH]; int is_erratic; int uses_jobcontrol; int is_amoron; int is_aluser; int has_aclue; pid_t pgrp_leader; }; RETURN VALUES
On success people returns the number of elements in ttys , on failure it returns -1 and errno is set to an appropriate value. ERRORS
ENOENT There are no human-behavioured processes on the system EBUSY The kernel is busy and will not stand this silly behaviour. Caution to call people again, from the same process, as the kernel might kill it right away. ENODEV See ENOENT above. EUSERS Too many of the people found were lusers. The cut-off for this error is system dependent, but is usually about 3. EXAMPLE
#include <sys/people.h> #include <asr.h> #include <signal.h> int main (int argc, char **argv) { struct ppl_tty **ttys; int rv,c; rv=people(ttys); if (rv!=-1) { for (c=0;c<rv;c++) if ((ttys[c].is_amoron)||(ttys[c].is_aluser)) { kill(-(ttys[c].pgrp_leader),SIGKILL); } } else { ; /* Handle errors in a graceful way... */ } } AUTHOR
This man page was written by Ingvar Mattsson, as a contribution to the a.s.r man page collection. 4th Berkeley Distribution Release 0.01 alpha people(2)
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy