On 17 July 2015 at 20:24, Programmingkid <programmingk...@gmail.com> wrote: > Is pstrcpy() ansi c? I'm having trouble finding documentation for it.
No, it's something we provide in util/cutils.c. We recommend it in HACKING, but we don't actually document the semantics, which is a bit unhelpful. I've just sent a patch which adds doc comments for pstrcpy and a handful of other string utility functions to qemu-common.h: http://patchwork.ozlabs.org/patch/497526/ thanks -- PMM