[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sethostname()
From: |
James Morrison |
Subject: |
sethostname() |
Date: |
Sat, 3 Nov 2001 08:04:53 -0800 (PST) |
It seems anytime I use sethostname(), in hostname or in my own
program.
int main() {
sethostname("me",3);
printf("%i:%s\n",errno,strerror(errno));
}
sethostname always returns bad file descriptor.
I've got python2.1 working, I didn't link to threads at the right
place. Now I've got python2.2 going ;)
=====
James Morrison
University of Waterloo
Computer Science - Digital Hardware
2A co-op
http://hurd.dyndns.org
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
- sethostname(),
James Morrison <=