Re: Strange C runtime library behavior

2015-02-19 Thread Ze'ev Atlas
Thank you all I am going back to the drawing board as I've mentioned on another thread ZA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Strange C runtime library behavior

2015-02-18 Thread Phil Sidler
On Sun, 15 Feb 2015 17:55:37 +, Ze'ev Atlas wrote: >The regex.h header file indicates that the regmatch_t structure consists of >two long variables (i.e. two pic s9(18) comp-5.).   s9(18) comp-5 would be a 'long long', I think. The regex.h I'm looking at has three different typedefs for r

Re: Strange C runtime library behavior

2015-02-18 Thread Phil Sidler
On Sun, 15 Feb 2015 17:55:37 +, Ze'ev Atlas wrote: >Hi allI am trying to create a common interface between COBOL and the runtime C >library, especially the RegEx related functions. If a working example of calling regexec() from COBOL would help, see http://mainframe.elevengestures.com/vali

Re: Strange C runtime library behavior

2015-02-15 Thread Sam Siegel
On Sun, Feb 15, 2015 at 9:55 AM, Ze'ev Atlas < 004b34e7c98a-dmarc-requ...@listserv.ua.edu> wrote: > Hi allI am trying to create a common interface between COBOL and the > runtime C library, especially the RegEx related functions. > The regex.h header file indicates that the regmatch_t structur

Strange C runtime library behavior

2015-02-15 Thread Ze'ev Atlas
Hi allI am trying to create a common interface between COBOL and the runtime C library, especially the RegEx related functions. The regex.h header file indicates that the regmatch_t structure consists of two long variables (i.e. two pic s9(18) comp-5.).  This structure is used as an element of a