Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    hi,
    Can i use the functions implements in the stdlib.h ?
    if not, Is there a symbiam stdlib ?
    i need functions like: strcpy, free, malloc ...

    thankX,
    yuval

    Posted by yuval geva, yuvalg@pixel-tech.com
    on May 02, 2002 at 14:04

  2. #2
    Super Contributor Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    Posted by Forum Nokia Developer Support, communicator.developer@nokia.com
    on May 02, 2002 at 16:10

    Hi,

    Symbian has its own C standard library implementation. The headers are located in Epoc32\Include\libc\. The libraries you need to link against are estlib.lib, and the static library ecrt0.lib.
    So in the .mmp file, add:
    LIBRARY estlib.lib
    STATICLIBRARY ecrt0.lib

    Note that the std libc is primarily meant to help with porting old software to Symbian, so when writing new applications its better to use the Symbian APIs.

    Also see the stdlib examples in Epoc32Ex\stdlib\ and what SDK Help has to say about C Standard Library.

    Developer Support
    Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved