pcp
[Top] [All Lists]

POSIX version

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: POSIX version
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Wed, 29 Apr 2015 14:55:15 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
Hi,

I looked throughout the source and couldn't find this anywhere. Is there a rough POSIX version that PCP tries to adhere to? I'd love to use open_memstream in my hotproc cleanups:

http://linux.die.net/man/3/open_memstream

It would simplify the config parsing logic, but it's part of POSIX.1-2008. This would be in linux_proc, so would only affect Linux, but then would make the procpmda depend on this functionality.

In the interest of not losing support for older systems that currently work, I assume this would break too many older builds, but figured I'd check anyway. I can't find a reference on where this would not be supported.

Alternatively, any thoughts on pulling such functionality into the pcp codebase?

    If not, no worries, just would be a handy thing to have available.

Thanks

Martins

<Prev in Thread] Current Thread [Next in Thread>