5d31c721ad5aa84b7b4657730640ba0ec97431e1
I had a closer look at the MS and the POSIX doc. It appears that there is confusion between the two related to how the arguments are interpreted when the user buffer pointer is null. In the POSIX doc it clearly states that the count only applies if the user pointer isn't nill. In the MS doc it clearly states that the count is also the size of the internally allocated buffer when the user pointer is nill. It seems that a reasonable compromise will be to specify a buffer size of BUFSIZ (defined by POSIX and fortunately also by windows).
--------------------------------------------------------- EPICS Base - the central core of a control system toolkit --------------------------------------------------------- Copyright (c) 1991-2003 The University of Chicago, as Operator of Argonne National Laboratory. Copyright (c) 1991-2003 The Regents of the University of California, as Operator of Los Alamos National Laboratory. EPICS Base Versions 3.13.7 and higher are distributed subject to a Software License Agreement found in the file LICENSE that is included with this distribution. --------------------------------------------------------- Installation and release information can be found in the various files in the documentation subdirectory. Additional information about EPICS including mailing list archives and subscription instructions, documentation and training materials, additional components, links to other websites etc. is available on the EPICS home page at http://www.aps.anl.gov/epics/
Languages
C++
81.9%
C
8.6%
HTML
7.9%
Makefile
1.1%
DIGITAL Command Language
0.5%