Re: os = slrn_get_os_name ();??
"John E. Davis" <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
andrew <[email protected]> wrote: > os = slrn_get_os_name (); > > but I do not fully understand how 'Linux' is generated by this > function which I see defined at the end of post.c slrn_get_os_name is a wrapper around the uname system function: NAME uname - get name and information about current kernel SYNOPSIS #include <sys/utsname.h> int uname(struct utsname *buf); --John ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php