Results 1 to 2 of 2
i am trying to port one of my C applications from AIX to LINUX where my source code uses couple of inbuilt functions regcmp and regex which very well works ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-01-2003 #1Just Joined!
- Join Date
- Mar 2003
- Posts
- 4
using regcmp & regex in Cprogram in LINUX environment
i am trying to port one of my C applications from AIX to LINUX where my source code uses couple of inbuilt functions regcmp and regex which very well works in AIX and in LINUX it says undefined reference to regcmp & regex. can anybody help me out solving this problem. first of all i am confused is this the problem of the shell or programming..thanks in advance.
- 04-01-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I think the functions you are looking for are regcomp and regexec. Check the manpage for them to see if that is what you want.


Reply With Quote
