lkml.org 
[lkml]   [2006]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: about __ARCH_WANT_SYS_GETHOSTNAME
From
Date
"Randy.Dunlap" <rdunlap@xenotime.net> writes:

> Hi,
>
> What was/is the purpose of __ARCH_WANT_SYS_GETHOSTNAME?
> and why do a few arches not #define it?
>
> If it is not #defined, should those arches supply their own
> sys_gethostname() function?
>
> 21 arches #define __ARCH_WANT_SYS_GETHOSTNAME.
> A few don't: frv, ia64, & xtensa.
> But all arches (except for um) #define __NR_gethostname.
>
> Is __ARCH_WANT_SYS_GETHOSTNAME just crufty and doesn't matter
> any more?

I know you can implement it by simply calling uname.
Beyond that I am puzzled.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-03 14:22    [W:0.031 / U:2.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site