Changeset 5c5c346a in mainline for uspace/app/bithenge/test.c


Ignore:
Timestamp:
2012-05-31T04:01:28Z (12 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50985c34
Parents:
4b16422
Message:

Bithenge: file blobs

File:
1 edited

Legend:

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

    r4b16422 r5c5c346a  
    4040#include "blob.h"
    4141#include "block.h"
     42#include "file.h"
    4243
    4344static void
     
    8384        bithenge_blob_destroy(blob);
    8485
     86        bithenge_new_file_blob(&blob, "/textdemo");
     87        printf("Data from file:/textdemo: ");
     88        print_blob(blob);
     89        bithenge_blob_destroy(blob);
     90
    8591        return 0;
    8692}
Note: See TracChangeset for help on using the changeset viewer.