Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 50985c34 in mainline for uspace/app/bithenge/test.c


Ignore:
Timestamp:
2012-06-01T00:04:30Z (9 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master
Children:
11b9ad7
Parents:
5c5c346a
Message:

Bithenge: create file blobs from fds and FILE*s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/test.c

    r5c5c346a r50985c34  
    8989        bithenge_blob_destroy(blob);
    9090
     91        bithenge_new_file_blob_from_fd(&blob, 0);
     92        printf("Data from fd:0: ");
     93        print_blob(blob);
     94        bithenge_blob_destroy(blob);
     95
    9196        return 0;
    9297}
Note: See TracChangeset for help on using the changeset viewer.