Which APIs of libpmemobj can be used to append string data to a file

9 views
Skip to first unread message

Supriya Mishra SVNIT

unread,
Jun 8, 2023, 6:31:25 AM6/8/23
to pmem
Hi,

I am trying to write and append data to a PM file. I have tried both libpmem and libpmemobj but both can be used to to write a string in PM. Or we can create an arraylist or linkedlist to store multiple strings.

But I want to have a file in PM in which string data can be appended.

For eg. fstream library of c++ can be used to open/create a txt file and to read/write data.

How can we do that using libpmemobj?

Best regards,
Supriya
Reply all
Reply to author
Forward
0 new messages