Find the answer to your Linux question:
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.
  1. #1
    Just 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.

  2. #2
    Linux 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •