• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

12.4.4.3 Exchanging text using length and string
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Analysing Terms via the Foreign Interface
            • Exchanging text using length and string
              • PL_get_atom_nchars()
              • PL_get_list_nchars()
              • PL_get_nchars()
              • PL_put_atom_nchars()
              • PL_put_string_nchars()
              • PL_put_list_ncodes()
              • PL_put_list_nchars()
              • PL_unify_atom_nchars()
              • PL_unify_string_nchars()
              • PL_unify_list_ncodes()
              • PL_unify_list_nchars()
              • PL_new_atom_nchars()
              • PL_atom_nchars()
    • Packages
Availability:C-language interface function
const char * PL_atom_nchars(atom_t a, size_t *len)
Extract the text and length of an atom. If you do not need the length, pass NULL as the value of len. If PL_atom_nchars() is called for a blob, NULL is returned.
ClioPatria (version V3.1.1-51-ga0b30a5)