Where is the unix manual ?
Jarek Zgoda
jzgoda at gazeta.usun.pl
Sun Oct 19 13:58:03 EDT 2003
Joe Green <someone at microsoft.com> pisze:
> import socket
> print socket.socket().recv.__doc__
>
> it tells me to look in the Unix manual. What is it on about, and is this
> manual online?
Yes, just type "man 2 socket" or "man 2 recv" in your shell.
#v+
SOCKET(2) Linux Programmer's Manual SOCKET(2)
NAME
socket - create an endpoint for communication
SYNOPSIS
#include <sys/types.h>
#include <sys/socket.h>
int socket(int domain, int type, int protocol);
DESCRIPTION
Socket creates an endpoint for communication and returns a descriptor.
#v-
And so on...
--
Jarek Zgoda
Registered Linux User #-1
http://www.zgoda.biz/ JID:jarek at jabberpl.org http://zgoda.jogger.pl/
More information about the Python-list
mailing list