coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some question regarding tail and option "-c"


From: Robert Milasan
Subject: Re: Some question regarding tail and option "-c"
Date: Thu, 4 Oct 2012 10:31:12 +0200

On Thu, 04 Oct 2012 10:14:15 +0200
"Jim Meyering" <address@hidden> wrote:

> You can check by seeing how lib/posixver.c is compiled or by running
> a command like the following.  Here's what I see on Fedora 17 and
> newer:
> 
>     $ gcc -x c -dD -E -include unistd.h /dev/null \
>       |grep -E 'fine _?_POSIX2_(THIS_)?VERS'
>     #define __POSIX2_THIS_VERSION 200809L
>     #define _POSIX2_VERSION __POSIX2_THIS_VERSION
> 
> When in doubt, you can use gdb to trace through the code, too.
> 

This is the output:

gcc -x c -dD -E -include unistd.h /dev/null |grep -E 
'fine_?_POSIX2_(THIS_)?VERS' 
#define __POSIX2_THIS_VERSION 200809L
#define _POSIX2_VERSION __POSIX2_THIS_VERSION


-- 
Robert Milasan

L3 Support Engineer
SUSE Linux
email: address@hidden
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A



reply via email to

[Prev in Thread] Current Thread [Next in Thread]