Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HTTPd programming in Linux

0 views
Skip to first unread message

khangnt

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
Help me to do it, I have nothing to read and I don't know how to do. In
some source files of Linux I read C commmands such as ap_rputs, ap_rvputs
or ap_sub_req_lookup_file ... Show me the use of these commands.
Thank you very much

--
Posted via CNET Help.com
http://www.help.com/

Diophantus

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
On Tue, 07 Dec 1999 05:30:06 GMT, khangnt <kha...@vol.vnn.vn> wrote:
>Help me to do it, I have nothing to read and I don't know how to do. In
>some source files of Linux I read C commmands such as ap_rputs, ap_rvputs
>or ap_sub_req_lookup_file ... Show me the use of these commands.

The C language doesn't have commands, it has functions. Some functions are part
of the standard C library. Others come from non-standard, platform-specific
libraries; there are countless of these "local dialects". Yet others are
defined in programs.

I suspect that the functions you are asking about are in the source code of
some specific program, perhaps the Apache web server? To find out what these
functions do you must read the source code yourself or ask in some Apache
newsgroup.

Each program defines its own functions which act as the local jargon of the
language within a program, the same way that closely knit groups of people
invent their own words. You cannot ask some expert in the English language
about the meaning of some word that is shared only by your family members or
friends. Similarly, you cannot ask in the comp.lang.c newsgroup about functions
defined in some specific program.

Jack Klein

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
On Tue, 07 Dec 1999 05:30:06 GMT, khangnt <kha...@vol.vnn.vn> wrote
in comp.lang.c:

> Help me to do it, I have nothing to read and I don't know how to do. In
> some source files of Linux I read C commmands such as ap_rputs, ap_rvputs
> or ap_sub_req_lookup_file ... Show me the use of these commands.

> Thank you very much

First, there are no such things as commands in C. This is not
nitpicking, proper terminology is important. What you are referring
to here are functions.

But they are not C language functions, they are Linux operating
systems specific extensions. You must ask about them in one of the
newsgroups with .linux in their names. We only talk about functions
which are part of the C language here.

Jack Klein
--
Home: http://jackklein.home.att.net

Paul D. Boyle

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
Jack Klein (jack...@att.net) wrote:
: On Tue, 07 Dec 1999 05:30:06 GMT, khangnt <kha...@vol.vnn.vn> wrote
: in comp.lang.c:

: > Help me to do it, I have nothing to read and I don't know how to do. In
: > some source files of Linux I read C commmands such as ap_rputs, ap_rvputs
: > or ap_sub_req_lookup_file ... Show me the use of these commands.
: > Thank you very much

[snip]

: But they are not C language functions, they are Linux operating
: systems specific extensions.

This isn't true; there are no Linux system calls with names like ap_rputs.
However, searching the www.apache.org web site I did find references to
some of the above mentioned functions.

To the OP: Visit the www.apache.org site look for appropriate
documentation.

Paul

--
Paul D. Boyle
bo...@laue.chem.ncsu.edu
North Carolina State University
http://laue.chem.ncsu.edu/web/xray.welcome.html

Jack Klein

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
On 7 Dec 1999 13:57:49 GMT, bo...@laue.chem.ncsu.edu (Paul D. Boyle)
wrote in comp.lang.c:

> Jack Klein (jack...@att.net) wrote:
> : On Tue, 07 Dec 1999 05:30:06 GMT, khangnt <kha...@vol.vnn.vn> wrote
> : in comp.lang.c:
>
> : > Help me to do it, I have nothing to read and I don't know how to do. In
> : > some source files of Linux I read C commmands such as ap_rputs, ap_rvputs
> : > or ap_sub_req_lookup_file ... Show me the use of these commands.
> : > Thank you very much
>
> [snip]
>
> : But they are not C language functions, they are Linux operating
> : systems specific extensions.
>
> This isn't true; there are no Linux system calls with names like ap_rputs.
> However, searching the www.apache.org web site I did find references to
> some of the above mentioned functions.
>
> To the OP: Visit the www.apache.org site look for appropriate
> documentation.
>
> Paul

Thanks for the connection. I'll try to remember that.

0 new messages